Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.417/2.417, allocations: 284.9 MB / 292.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001458/0.001458, allocations: 172.9 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.2 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 94.94 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.638e-05/3.635e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8092/0.8093, allocations: 115.3 MB / 0.9634 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2515/1.061, allocations: 142.3 MB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003449/1.061, allocations: 95.41 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04404/1.105, allocations: 10.08 MB / 1.112 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.577e-06/1.105, allocations: 8 kB / 1.112 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.605e-05/1.105, allocations: 4 kB / 1.112 GB, free: 3.949 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009497/1.106, allocations: 0.5637 MB / 1.113 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/1.106, allocations: 8.031 kB / 1.113 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/1.107, allocations: 44.64 kB / 1.113 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008442/1.107, allocations: 355.2 kB / 1.113 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/1.108, allocations: 9.5 kB / 1.113 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/1.108, allocations: 11.88 kB / 1.113 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001354/1.108, allocations: 28 kB / 1.113 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/1.108, allocations: 69.66 kB / 1.113 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.108, allocations: 0 / 1.113 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/1.108, allocations: 0 / 1.113 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/1.108, allocations: 7.984 kB / 1.113 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/1.109, allocations: 441.1 kB / 1.114 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/1.109, allocations: 62.69 kB / 1.114 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.362e-05/1.109, allocations: 24.97 kB / 1.114 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/1.109, allocations: 0 / 1.114 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/1.11, allocations: 79.39 kB / 1.114 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 2.023e-06/1.11, allocations: 0 / 1.114 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0004381/1.11, allocations: 123.8 kB / 1.114 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/1.11, allocations: 55.41 kB / 1.114 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008952/1.111, allocations: 453.4 kB / 1.115 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/1.111, allocations: 29.7 kB / 1.115 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/1.111, allocations: 219.9 kB / 1.115 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/1.111, allocations: 15.8 kB / 1.115 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.762e-05/1.111, allocations: 4 kB / 1.115 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001937/1.112, allocations: 362.8 kB / 1.115 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/1.112, allocations: 51.98 kB / 1.115 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/1.112, allocations: 70.56 kB / 1.115 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/1.112, allocations: 65.08 kB / 1.115 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.112, allocations: 1.688 kB / 1.115 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006554/1.113, allocations: 214.1 kB / 1.116 GB, free: 436 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/1.113, allocations: 16.7 kB / 1.116 GB, free: 420 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.113, allocations: 0 / 1.116 GB, free: 420 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/1.113, allocations: 0 / 1.116 GB, free: 420 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/1.113, allocations: 20 kB / 1.116 GB, free: 400 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/1.113, allocations: 7.922 kB / 1.116 GB, free: 392 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/1.114, allocations: 11.95 kB / 1.116 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.3e-05/1.114, allocations: 8 kB / 1.116 GB, free: 372 kB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001251/1.114, allocations: 112.8 kB / 1.116 GB, free: 252 kB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003087/1.114, allocations: 121.1 kB / 1.116 GB, free: 124 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.795e-05/1.114, allocations: 39.44 kB / 1.116 GB, free: 84 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004345/1.115, allocations: 132 kB / 1.116 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/1.115, allocations: 3.953 kB / 1.116 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/1.115, allocations: 3.984 kB / 1.116 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/1.115, allocations: 4 kB / 1.116 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/1.115, allocations: 274.1 kB / 1.116 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.115, allocations: 4 kB / 1.116 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.97e-05/1.115, allocations: 4.656 kB / 1.116 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/1.115, allocations: 1.188 kB / 1.116 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/1.115, allocations: 4 kB / 1.116 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.115, allocations: 0 / 1.116 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.115, allocations: 0 / 1.116 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/1.116, allocations: 156.3 kB / 1.116 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/1.116, allocations: 124.5 kB / 1.117 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.118e-05/1.116, allocations: 8.562 kB / 1.117 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/1.116, allocations: 7.984 kB / 1.117 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.517e-05/1.116, allocations: 7.984 kB / 1.117 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/1.116, allocations: 10.56 kB / 1.117 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006457/1.117, allocations: 330.9 kB / 1.117 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.32e-07/1.117, allocations: 0 / 1.117 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005201/1.118, allocations: 65.53 kB / 1.117 GB, free: 14.89 MB / 0.7292 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 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001882/1.119, allocations: 0.9733 MB / 1.118 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003843/1.12, allocations: 83.98 kB / 1.118 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.936e-06/1.12, allocations: 0 / 1.118 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.035e-05/1.12, allocations: 33.33 kB / 1.118 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005714/1.121, allocations: 48.09 kB / 1.118 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/1.122, allocations: 0.5411 MB / 1.119 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/1.123, allocations: 0.8294 MB / 1.119 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001749/1.123, allocations: 26.11 kB / 1.119 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/1.123, allocations: 115.4 kB / 1.12 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of SimCode: time 1.152e-06/1.123, allocations: 3.938 kB / 1.12 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04816/1.171, allocations: 6.74 MB / 1.126 GB, free: 5.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002999/1.172, allocations: 183.9 kB / 1.126 GB, free: 5.562 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/3.648, allocations: 4 kB / 1.126 GB, free: 5.559 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)