Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001709/0.001709, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002288/0.002288, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.451/1.451, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.837/2.837, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 70.03 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4083, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004459/0.4129, allocations: 2.455 MB / 1.071 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002844/0.4157, allocations: 1.58 MB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002974/0.4161, allocations: 4 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.4172, allocations: 315.2 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006087/0.4178, allocations: 219.1 kB / 1.073 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000801/0.4186, allocations: 266.8 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005933/0.4192, allocations: 386.8 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.4194, allocations: 64.98 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002881/0.4197, allocations: 163.3 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.42, allocations: 159.2 kB / 1.074 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.035e-05/0.42, allocations: 20 kB / 1.074 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002369/0.4203, allocations: 75.95 kB / 1.074 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.4204, allocations: 131.5 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.4207, allocations: 186.6 kB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006757/0.4213, allocations: 0.4981 MB / 1.075 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.4214, allocations: 3.984 kB / 1.075 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4214, allocations: 0 / 1.075 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.8e-05/0.4214, allocations: 0 / 1.075 GB, free: 3.883 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.001468/0.4229, allocations: 0.8296 MB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.4229, allocations: 8.031 kB / 1.075 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.423, allocations: 56.28 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006134/0.4237, allocations: 436.8 kB / 1.076 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.4237, allocations: 11.94 kB / 1.076 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.4238, allocations: 8 kB / 1.076 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.4241, allocations: 144.1 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4241, allocations: 0 / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.4241, allocations: 11.98 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.4241, allocations: 3.938 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.4243, allocations: 67.91 kB / 1.076 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009796/0.4253, allocations: 0.5822 MB / 1.077 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.4257, allocations: 126.8 kB / 1.077 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.4258, allocations: 44.84 kB / 1.077 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.4258, allocations: 4 kB / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002509/0.4261, allocations: 111.3 kB / 1.077 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 2.835e-06/0.4261, allocations: 0 / 1.077 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0005546/0.4267, allocations: 240.1 kB / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.4267, allocations: 81.11 kB / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008257/0.4276, allocations: 0.6837 MB / 1.078 GB, free: 256 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.4276, allocations: 33.7 kB / 1.078 GB, free: 216 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.4278, allocations: 268.3 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.037e-05/0.4279, allocations: 23.62 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.331e-05/0.428, allocations: 61.69 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.4282, allocations: 374.8 kB / 1.079 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.4283, allocations: 79.84 kB / 1.079 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.4285, allocations: 118.2 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.4288, allocations: 133.2 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.4288, allocations: 3.938 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005068/0.4293, allocations: 275.9 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.4294, allocations: 7.938 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4294, allocations: 0 / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4294, allocations: 4 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.4296, allocations: 35.98 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.4296, allocations: 7.984 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.4298, allocations: 23.89 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.4298, allocations: 12 kB / 1.079 GB, free: 14.77 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.0002419/0.4301, allocations: 212 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.608e-05/0.4302, allocations: 55.28 kB / 1.08 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.4303, allocations: 57.05 kB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.4303, allocations: 4 kB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4303, allocations: 0 / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4303, allocations: 0 / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004298/0.4307, allocations: 377.3 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.4308, allocations: 3.938 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.4308, allocations: 19.86 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.4308, allocations: 0 / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.4308, allocations: 0 / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.4308, allocations: 4 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4308, allocations: 0 / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.4312, allocations: 212.4 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.4313, allocations: 136.3 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.4314, allocations: 7.984 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.4315, allocations: 11.98 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.4316, allocations: 11.98 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.4316, allocations: 12 kB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005292/0.4322, allocations: 463 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4322, allocations: 0 / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003265/0.4325, allocations: 67.98 kB / 1.081 GB, free: 13.05 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.001132/0.4336, allocations: 445.1 kB / 1.081 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000394/0.434, allocations: 162.9 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4341, allocations: 0 / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.4342, allocations: 55.91 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000517/0.4347, allocations: 99.53 kB / 1.082 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.4361, allocations: 0.8407 MB / 1.082 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.4366, allocations: 0.8649 MB / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001762/0.4368, allocations: 46.95 kB / 1.083 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.106e-05/0.4369, allocations: 35.42 kB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.4369, allocations: 0 / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of Templates: time 0.01106/0.448, allocations: 4.353 MB / 1.088 GB, free: 6.324 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)