Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.586/1.586, allocations: 249.3 MB / 261.8 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 182.7 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009865/0.0009865, allocations: 86.52 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.527e-05/3.531e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2158, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.11/6.326, allocations: 2.21 GB / 3.102 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/6.326, allocations: 85.33 kB / 3.102 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.189/7.515, allocations: 307.1 MB / 3.402 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.344e-06/7.515, allocations: 0 / 3.402 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001264/7.515, allocations: 51.92 kB / 3.402 GB, free: 157.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.003251/7.519, allocations: 1.759 MB / 3.403 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/7.519, allocations: 12.03 kB / 3.403 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00025/7.519, allocations: 232.6 kB / 3.404 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003418/7.522, allocations: 0.4948 MB / 3.404 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/7.524, allocations: 0.9855 MB / 3.405 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-05/7.524, allocations: 127.3 kB / 3.405 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/7.525, allocations: 160 kB / 3.405 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002794/7.527, allocations: 1.694 MB / 3.407 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/7.527, allocations: 0 / 3.407 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/7.528, allocations: 76 kB / 3.407 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/7.528, allocations: 40 kB / 3.407 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/7.53, allocations: 1.695 MB / 3.409 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007547/7.537, allocations: 5.07 MB / 3.414 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/7.539, allocations: 1.225 MB / 3.415 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007126/7.54, allocations: 0.5659 MB / 3.415 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007765/7.541, allocations: 0.8117 MB / 3.416 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00113/7.542, allocations: 0.772 MB / 3.417 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=137): time 2.895e-06/7.542, allocations: 0 / 3.417 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=137): time 0.002989/7.545, allocations: 1.331 MB / 3.418 GB, free: 140 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.624e-05/7.545, allocations: 256.6 kB / 3.418 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009945/7.546, allocations: 0.7393 MB / 3.419 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001454/7.546, allocations: 61.7 kB / 3.419 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004552/7.547, allocations: 0.6288 MB / 3.42 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002871/7.547, allocations: 457.3 kB / 3.42 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/7.547, allocations: 20 kB / 3.42 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.082e-05/7.547, allocations: 353.9 kB / 3.421 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000579/7.548, allocations: 390.5 kB / 3.421 GB, free: 137 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006399/7.548, allocations: 0.5452 MB / 3.422 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000654/7.549, allocations: 471 kB / 3.422 GB, free: 136 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/7.549, allocations: 8 kB / 3.422 GB, free: 136 MB / 0.8698 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002386/7.551, allocations: 1.308 MB / 3.423 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/7.551, allocations: 8 kB / 3.423 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/7.551, allocations: 4 kB / 3.423 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008626/7.552, allocations: 196.1 kB / 3.424 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/7.554, allocations: 291.6 kB / 3.424 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004059/7.558, allocations: 6.76 MB / 3.43 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/7.559, allocations: 147 kB / 3.431 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/7.559, allocations: 51.97 kB / 3.431 GB, free: 126.5 MB / 0.8698 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.0003893/7.56, allocations: 177.8 kB / 3.431 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/7.56, allocations: 122.5 kB / 3.431 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003175/7.563, allocations: 1.654 MB / 3.432 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/7.563, allocations: 19.95 kB / 3.433 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/7.563, allocations: 0 / 3.433 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/7.563, allocations: 7.969 kB / 3.433 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/7.565, allocations: 1.465 MB / 3.434 GB, free: 123 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/7.565, allocations: 0 / 3.434 GB, free: 123 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/7.566, allocations: 295.6 kB / 3.434 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007295/7.567, allocations: 204 kB / 3.434 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-05/7.567, allocations: 35.97 kB / 3.434 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00391/7.571, allocations: 6.798 MB / 3.441 GB, free: 115 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/7.571, allocations: 0 / 3.441 GB, free: 115 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002827/7.574, allocations: 1.437 MB / 3.443 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007959/7.575, allocations: 423 kB / 3.443 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/7.575, allocations: 28 kB / 3.443 GB, free: 113 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/7.576, allocations: 115.8 kB / 3.443 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/7.576, allocations: 113 kB / 3.443 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/7.577, allocations: 64.14 kB / 3.443 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007853/7.577, allocations: 0.5931 MB / 3.444 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/7.577, allocations: 0 / 3.444 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002306/7.58, allocations: 0.6702 MB / 3.444 GB, free: 111.5 MB / 0.8698 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.conTimMin.tNext,weaDat.conTim.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.005344/7.585, allocations: 3.477 MB / 3.448 GB, free: 108 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002408/7.587, allocations: 1.637 MB / 3.449 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/7.587, allocations: 5.062 kB / 3.449 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001349/7.589, allocations: 1.207 MB / 3.451 GB, free: 105 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/7.591, allocations: 431.2 kB / 3.451 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005881/7.597, allocations: 2.586 MB / 3.454 GB, free: 102 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006463/7.598, allocations: 1.315 MB / 3.455 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001772/7.599, allocations: 425.5 kB / 3.455 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007436/7.6, allocations: 0.6163 MB / 3.456 GB, free: 99.62 MB / 0.8698 GB Notification: Performance of SimCode: time 1.253e-06/7.6, allocations: 0 / 3.456 GB, free: 99.62 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08896/7.689, allocations: 55.58 MB / 3.51 GB, free: 44.24 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/7.689, allocations: 234.3 kB / 3.51 GB, free: 43.93 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.824/11.51, allocations: 3.938 kB / 3.51 GB, free: 43.92 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)