Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.18/2.18, allocations: 387.1 MB / 399.7 MB, free: 9.434 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 172.9 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 221.3 MB / 0.7871 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008609/0.000861, allocations: 94.52 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.389e-05/3.393e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2626, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.1/5.363, allocations: 1.937 GB / 3.15 GB, free: 333.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/5.363, allocations: 89.25 kB / 3.15 GB, free: 333.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.5988/5.962, allocations: 318.1 MB / 3.461 GB, free: 26.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.355e-06/5.962, allocations: 0 / 3.461 GB, free: 26.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001065/5.962, allocations: 55.92 kB / 3.461 GB, free: 26.45 MB / 1.151 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.002666/5.965, allocations: 1.749 MB / 3.462 GB, free: 24.64 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/5.965, allocations: 8.031 kB / 3.462 GB, free: 24.63 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002324/5.965, allocations: 236.6 kB / 3.463 GB, free: 24.39 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002994/5.968, allocations: 0.4972 MB / 3.463 GB, free: 23.89 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/5.97, allocations: 0.9661 MB / 3.464 GB, free: 22.88 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/5.97, allocations: 123.3 kB / 3.464 GB, free: 22.76 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/5.97, allocations: 168 kB / 3.464 GB, free: 22.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/5.972, allocations: 1.682 MB / 3.466 GB, free: 20.86 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/5.972, allocations: 4 kB / 3.466 GB, free: 20.86 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/5.972, allocations: 72 kB / 3.466 GB, free: 20.79 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/5.972, allocations: 40 kB / 3.466 GB, free: 20.75 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/5.974, allocations: 1.711 MB / 3.468 GB, free: 19.04 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005818/5.98, allocations: 4.859 MB / 3.472 GB, free: 13.98 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/5.982, allocations: 1.586 MB / 3.474 GB, free: 12.31 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006889/5.983, allocations: 0.5703 MB / 3.475 GB, free: 11.74 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006756/5.983, allocations: 0.8039 MB / 3.475 GB, free: 10.77 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/5.984, allocations: 0.7646 MB / 3.476 GB, free: 9.988 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 2.886e-06/5.984, allocations: 0 / 3.476 GB, free: 9.988 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.002719/5.987, allocations: 1.343 MB / 3.477 GB, free: 8.621 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/5.987, allocations: 248.6 kB / 3.478 GB, free: 8.324 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008123/5.988, allocations: 0.751 MB / 3.478 GB, free: 7.566 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.842e-05/5.988, allocations: 53.7 kB / 3.478 GB, free: 7.508 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/5.989, allocations: 0.6289 MB / 3.479 GB, free: 6.867 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/5.989, allocations: 449.4 kB / 3.48 GB, free: 6.422 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/5.989, allocations: 24 kB / 3.48 GB, free: 6.398 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.672e-05/5.989, allocations: 361.9 kB / 3.48 GB, free: 6.039 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000561/5.989, allocations: 394.5 kB / 3.48 GB, free: 5.652 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006313/5.99, allocations: 0.5569 MB / 3.481 GB, free: 5.055 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006502/5.991, allocations: 476.8 kB / 3.481 GB, free: 4.59 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/5.991, allocations: 3.938 kB / 3.481 GB, free: 4.586 MB / 1.151 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002255/5.993, allocations: 1.331 MB / 3.483 GB, free: 3.23 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/5.993, allocations: 4 kB / 3.483 GB, free: 3.227 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/5.993, allocations: 0 / 3.483 GB, free: 3.227 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008082/5.994, allocations: 188.2 kB / 3.483 GB, free: 3.027 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/5.995, allocations: 307.6 kB / 3.483 GB, free: 2.727 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6199/6.615, allocations: 6.756 MB / 3.49 GB, free: 303.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/6.617, allocations: 141.6 kB / 3.49 GB, free: 303.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/6.617, allocations: 48.83 kB / 3.49 GB, free: 303.4 MB / 1.151 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.0003637/6.617, allocations: 182.4 kB / 3.49 GB, free: 303.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002522/6.617, allocations: 128.3 kB / 3.49 GB, free: 303.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003601/6.621, allocations: 1.667 MB / 3.492 GB, free: 303.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/6.621, allocations: 13.31 kB / 3.492 GB, free: 303.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/6.621, allocations: 2.5 kB / 3.492 GB, free: 303.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.881e-05/6.621, allocations: 7.828 kB / 3.492 GB, free: 303.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005738/6.627, allocations: 3.241 MB / 3.495 GB, free: 302.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/6.627, allocations: 0.8125 kB / 3.495 GB, free: 302.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/6.628, allocations: 311.5 kB / 3.495 GB, free: 302.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007922/6.629, allocations: 195.2 kB / 3.495 GB, free: 302.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/6.629, allocations: 40.02 kB / 3.495 GB, free: 302.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004754/6.634, allocations: 6.789 MB / 3.502 GB, free: 296.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/6.634, allocations: 5.016 kB / 3.502 GB, free: 296.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003874/6.638, allocations: 1.507 MB / 3.504 GB, free: 296.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009084/6.639, allocations: 417.1 kB / 3.504 GB, free: 296 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/6.639, allocations: 24.94 kB / 3.504 GB, free: 296 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/6.64, allocations: 126.6 kB / 3.504 GB, free: 296 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002727/6.64, allocations: 103.6 kB / 3.504 GB, free: 296 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/6.641, allocations: 61.8 kB / 3.504 GB, free: 296 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001036/6.642, allocations: 0.5929 MB / 3.505 GB, free: 295.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/6.642, allocations: 0 / 3.505 GB, free: 295.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002618/6.644, allocations: 0.6904 MB / 3.506 GB, free: 295.9 MB / 1.151 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.007243/6.651, allocations: 3.591 MB / 3.509 GB, free: 294.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003387/6.655, allocations: 1.655 MB / 3.511 GB, free: 294.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/6.655, allocations: 2.688 kB / 3.511 GB, free: 294.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001917/6.657, allocations: 1.206 MB / 3.512 GB, free: 293.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00248/6.659, allocations: 441.3 kB / 3.512 GB, free: 293.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006648/6.666, allocations: 2.535 MB / 3.515 GB, free: 293.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008871/6.667, allocations: 1.308 MB / 3.516 GB, free: 292.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001945/6.669, allocations: 415.4 kB / 3.516 GB, free: 292.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008802/6.67, allocations: 0.6054 MB / 3.517 GB, free: 292.4 MB / 1.151 GB Notification: Performance of SimCode: time 7.71e-07/6.67, allocations: 0 / 3.517 GB, free: 292.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09687/6.767, allocations: 56.28 MB / 3.572 GB, free: 290.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/6.767, allocations: 226.2 kB / 3.572 GB, free: 290.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.128/10.9, allocations: 0 / 3.572 GB, free: 290.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat does not exist to compare? outputFormat=mat