Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009005/0.009005, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.802/2.802, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004237/0.0004235, allocations: 15.72 kB / 0.9158 GB, free: 33.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3723, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003645/0.3761, allocations: 2.146 MB / 1.076 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002692/0.3788, allocations: 1.526 MB / 1.078 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.3789, allocations: 0 / 1.078 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.38, allocations: 307.4 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003773/0.3804, allocations: 199.3 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006519/0.381, allocations: 234.1 kB / 1.078 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004019/0.3814, allocations: 382.8 kB / 1.079 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.3816, allocations: 61 kB / 1.079 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.3818, allocations: 143.2 kB / 1.079 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.382, allocations: 155.2 kB / 1.079 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.382, allocations: 4 kB / 1.079 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.3822, allocations: 59.91 kB / 1.079 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.3824, allocations: 123.5 kB / 1.079 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.3825, allocations: 196.3 kB / 1.08 GB, free: 2 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004779/0.383, allocations: 478 kB / 1.08 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.383, allocations: 4 kB / 1.08 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.793e-06/0.383, allocations: 0 / 1.08 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.383, allocations: 0 / 1.08 GB, free: 1.527 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001089/0.3841, allocations: 0.7639 MB / 1.081 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3842, allocations: 8.031 kB / 1.081 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.054e-05/0.3843, allocations: 60.19 kB / 1.081 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005186/0.3848, allocations: 428.9 kB / 1.081 GB, free: 188 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.3848, allocations: 11.94 kB / 1.081 GB, free: 176 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.3849, allocations: 8 kB / 1.081 GB, free: 168 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.3852, allocations: 144.9 kB / 1.081 GB, free: 12 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3852, allocations: 4 kB / 1.081 GB, free: 8 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.817e-05/0.3852, allocations: 16.05 kB / 1.081 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.3852, allocations: 3.938 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.3854, allocations: 63.97 kB / 1.081 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008289/0.3862, allocations: 0.5821 MB / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.3865, allocations: 126.7 kB / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.3867, allocations: 48.78 kB / 1.082 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.3867, allocations: 8 kB / 1.082 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.3869, allocations: 114.7 kB / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.3869, allocations: 0 / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0005092/0.3875, allocations: 236.9 kB / 1.083 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.3875, allocations: 81.11 kB / 1.083 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007789/0.3883, allocations: 0.6837 MB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.3883, allocations: 37.7 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.3886, allocations: 264.3 kB / 1.084 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.3886, allocations: 27.61 kB / 1.084 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.3887, allocations: 37.7 kB / 1.084 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3888, allocations: 370.8 kB / 1.084 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.389, allocations: 71.91 kB / 1.084 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.3892, allocations: 125.8 kB / 1.084 GB, free: 13 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.3894, allocations: 133.3 kB / 1.084 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.3894, allocations: 3.938 kB / 1.084 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000429/0.3899, allocations: 276.7 kB / 1.085 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3899, allocations: 4.062 kB / 1.085 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3899, allocations: 4 kB / 1.085 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3899, allocations: 4 kB / 1.085 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.3901, allocations: 35.92 kB / 1.085 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3901, allocations: 8 kB / 1.085 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.3903, allocations: 23.83 kB / 1.085 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.3903, allocations: 12 kB / 1.085 GB, free: 12.49 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002181/0.3905, allocations: 207.5 kB / 1.085 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.3906, allocations: 59.28 kB / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.363e-05/0.3907, allocations: 57.05 kB / 1.085 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3907, allocations: 3.938 kB / 1.085 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3907, allocations: 3.984 kB / 1.085 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3907, allocations: 4 kB / 1.085 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.3911, allocations: 369.3 kB / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3911, allocations: 3.938 kB / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.432e-05/0.3911, allocations: 4 kB / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3912, allocations: 4 kB / 1.085 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.3912, allocations: 4 kB / 1.085 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3912, allocations: 3.984 kB / 1.085 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3912, allocations: 0 / 1.085 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.3916, allocations: 220.5 kB / 1.086 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.3917, allocations: 136.3 kB / 1.086 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.791e-05/0.3917, allocations: 11.98 kB / 1.086 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.3919, allocations: 15.94 kB / 1.086 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.31e-05/0.392, allocations: 19.97 kB / 1.086 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.392, allocations: 4 kB / 1.086 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005462/0.3925, allocations: 471 kB / 1.086 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3925, allocations: 3.938 kB / 1.086 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003265/0.3929, allocations: 59.98 kB / 1.086 GB, free: 10.76 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001187/0.3941, allocations: 437 kB / 1.087 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003742/0.3944, allocations: 151.9 kB / 1.087 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3945, allocations: 0 / 1.087 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.3946, allocations: 55.92 kB / 1.087 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005199/0.3951, allocations: 92.23 kB / 1.087 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.3965, allocations: 0.981 MB / 1.088 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.3969, allocations: 0.8575 MB / 1.089 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000142/0.3971, allocations: 50.95 kB / 1.089 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.386e-05/0.3972, allocations: 31.42 kB / 1.089 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3972, allocations: 0 / 1.089 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of Templates: time 0.009358/0.4065, allocations: 4.067 MB / 1.093 GB, free: 4.195 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)