Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009831/0.000983, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7684/0.7684, allocations: 133.6 MB / 141.6 MB, free: 2.844 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 221.5 MB / 395.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009786/0.0009785, allocations: 97.48 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.402e-05/2.424e-05, allocations: 4 kB / 0.5535 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5283/0.5284, allocations: 82.31 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.559/6.087, allocations: 1.9 GB / 2.534 GB, free: 96.99 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004088/6.088, allocations: 88.2 kB / 2.534 GB, free: 96.95 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.131/7.219, allocations: 314.8 MB / 2.841 GB, free: 62.88 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.274e-06/7.219, allocations: 0 / 2.841 GB, free: 62.88 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002162/7.219, allocations: 51.92 kB / 2.841 GB, free: 62.83 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.005173/7.225, allocations: 1.761 MB / 2.843 GB, free: 61.01 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/7.225, allocations: 8.031 kB / 2.843 GB, free: 61 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004065/7.229, allocations: 0.5011 MB / 2.843 GB, free: 60.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002656/7.231, allocations: 0.9634 MB / 2.844 GB, free: 59.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/7.232, allocations: 59.94 kB / 2.844 GB, free: 59.44 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004929/7.232, allocations: 92 kB / 2.844 GB, free: 59.35 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003269/7.235, allocations: 1.626 MB / 2.846 GB, free: 57.72 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/7.238, allocations: 1.441 MB / 2.847 GB, free: 56.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/7.238, allocations: 0 / 2.847 GB, free: 56.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/7.238, allocations: 8 kB / 2.847 GB, free: 56.22 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/7.238, allocations: 40 kB / 2.848 GB, free: 56.18 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006698/7.245, allocations: 4.565 MB / 2.852 GB, free: 51.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/7.246, allocations: 1.48 MB / 2.853 GB, free: 49.86 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000614/7.247, allocations: 0.5347 MB / 2.854 GB, free: 49.33 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007612/7.248, allocations: 0.8078 MB / 2.855 GB, free: 48.36 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009834/7.249, allocations: 0.7253 MB / 2.855 GB, free: 47.61 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 2.905e-06/7.249, allocations: 0 / 2.855 GB, free: 47.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.002969/7.252, allocations: 1.285 MB / 2.857 GB, free: 46.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/7.252, allocations: 252.6 kB / 2.857 GB, free: 46 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008392/7.253, allocations: 0.6096 MB / 2.858 GB, free: 45.38 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/7.253, allocations: 29.7 kB / 2.858 GB, free: 45.34 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000449/7.253, allocations: 0.6442 MB / 2.858 GB, free: 44.69 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003088/7.254, allocations: 437.3 kB / 2.859 GB, free: 44.25 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.215e-05/7.254, allocations: 4 kB / 2.859 GB, free: 44.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.035e-05/7.254, allocations: 349.9 kB / 2.859 GB, free: 43.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/7.254, allocations: 378.5 kB / 2.859 GB, free: 43.53 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005607/7.255, allocations: 0.5192 MB / 2.86 GB, free: 42.97 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007456/7.256, allocations: 462.1 kB / 2.86 GB, free: 42.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/7.256, allocations: 0 / 2.86 GB, free: 42.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002349/7.258, allocations: 1.238 MB / 2.861 GB, free: 41.26 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/7.258, allocations: 8 kB / 2.861 GB, free: 41.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/7.258, allocations: 0 / 2.861 GB, free: 41.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008326/7.259, allocations: 196.1 kB / 2.862 GB, free: 41.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/7.26, allocations: 299.6 kB / 2.862 GB, free: 40.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003918/7.264, allocations: 6.491 MB / 2.868 GB, free: 33.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/7.265, allocations: 115.2 kB / 2.868 GB, free: 33.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/7.266, allocations: 43.97 kB / 2.868 GB, free: 33.52 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003398/7.266, allocations: 120.8 kB / 2.869 GB, free: 33.4 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002457/7.268, allocations: 1.253 MB / 2.87 GB, free: 32.12 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/7.269, allocations: 110.7 kB / 2.87 GB, free: 32.01 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003073/7.272, allocations: 1.56 MB / 2.871 GB, free: 30.42 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/7.272, allocations: 16 kB / 2.871 GB, free: 30.41 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/7.272, allocations: 0 / 2.871 GB, free: 30.41 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/7.272, allocations: 11.92 kB / 2.871 GB, free: 30.39 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004762/7.276, allocations: 2.949 MB / 2.874 GB, free: 27.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/7.276, allocations: 0 / 2.874 GB, free: 27.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/7.278, allocations: 315.6 kB / 2.875 GB, free: 27.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007328/7.279, allocations: 184.2 kB / 2.875 GB, free: 26.88 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.124e-05/7.279, allocations: 23.91 kB / 2.875 GB, free: 26.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004224/7.283, allocations: 6.523 MB / 2.881 GB, free: 19.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/7.283, allocations: 0 / 2.881 GB, free: 19.76 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003156/7.286, allocations: 1.433 MB / 2.883 GB, free: 18.29 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007886/7.287, allocations: 391.1 kB / 2.883 GB, free: 17.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/7.287, allocations: 8 kB / 2.883 GB, free: 17.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/7.288, allocations: 99.7 kB / 2.883 GB, free: 17.78 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/7.288, allocations: 105.1 kB / 2.883 GB, free: 17.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/7.289, allocations: 67.94 kB / 2.883 GB, free: 17.61 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006899/7.289, allocations: 491.1 kB / 2.884 GB, free: 17.14 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.91e-07/7.289, allocations: 0 / 2.884 GB, free: 17.14 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002703/7.292, allocations: 0.6193 MB / 2.884 GB, free: 16.52 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006098/7.298, allocations: 3.608 MB / 2.888 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002451/7.301, allocations: 1.585 MB / 2.889 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/7.301, allocations: 0.5625 kB / 2.889 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001339/7.302, allocations: 1.146 MB / 2.89 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/7.304, allocations: 390.2 kB / 2.891 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006512/7.311, allocations: 2.404 MB / 2.893 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007907/7.312, allocations: 1.309 MB / 2.894 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001753/7.313, allocations: 412.8 kB / 2.895 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008157/7.314, allocations: 0.6125 MB / 2.895 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of SimCode: time 1.473e-06/7.314, allocations: 0 / 2.895 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5596/7.874, allocations: 42.31 MB / 2.937 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/7.874, allocations: 170.2 kB / 2.937 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.62/11.49, allocations: 4 kB / 2.937 GB, free: 161.7 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)