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.001305/0.001305, 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.001242/0.001243, allocations: 196.3 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.456/1.456, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.963/2.963, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001343, allocations: 63.52 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3283, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004646/0.333, allocations: 2.465 MB / 1.071 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002744/0.3358, allocations: 1.568 MB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.336, allocations: 4 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009153/0.337, allocations: 327.2 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000436/0.3374, allocations: 215.1 kB / 1.073 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007432/0.3382, allocations: 274.7 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004353/0.3386, allocations: 386.8 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.3388, allocations: 65 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.339, allocations: 159.3 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.3393, allocations: 167.2 kB / 1.074 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.456e-05/0.3393, allocations: 20 kB / 1.074 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.3395, allocations: 75.95 kB / 1.074 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.3398, allocations: 131.5 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002777/0.3401, allocations: 182.7 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006664/0.3407, allocations: 0.4981 MB / 1.075 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3407, allocations: 0 / 1.075 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.475e-06/0.3407, allocations: 0 / 1.075 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.3408, allocations: 0 / 1.075 GB, free: 3.906 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.001441/0.3422, allocations: 0.8374 MB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.3423, allocations: 8.031 kB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.3424, allocations: 56.28 kB / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004997/0.3429, allocations: 428.8 kB / 1.076 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.3429, allocations: 15.94 kB / 1.076 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.3429, allocations: 8 kB / 1.076 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.3432, allocations: 148.8 kB / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3433, allocations: 0 / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.3433, allocations: 0 / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.3433, allocations: 7.938 kB / 1.076 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.3435, allocations: 75.89 kB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.3446, allocations: 0.5782 MB / 1.077 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.3449, allocations: 122.8 kB / 1.077 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.3451, allocations: 48.84 kB / 1.077 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.3451, allocations: 4 kB / 1.077 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.3453, allocations: 111.3 kB / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.3453, allocations: 0 / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0005132/0.3459, allocations: 240.5 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.3459, allocations: 81.09 kB / 1.077 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007146/0.3466, allocations: 0.6837 MB / 1.078 GB, free: 276 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.3467, allocations: 33.7 kB / 1.078 GB, free: 236 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.3469, allocations: 264.4 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.3469, allocations: 35.52 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.395e-05/0.347, allocations: 53.64 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3472, allocations: 374.8 kB / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.3473, allocations: 71.91 kB / 1.079 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.3475, allocations: 131.1 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.3478, allocations: 128.7 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.253e-05/0.3479, allocations: 7.938 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004269/0.3483, allocations: 271.9 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3483, allocations: 16.05 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3483, allocations: 0 / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3483, allocations: 0 / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.3485, allocations: 31.98 kB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3485, allocations: 0 / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.3487, allocations: 31.83 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.3487, allocations: 8 kB / 1.079 GB, free: 14.79 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.0002028/0.3489, allocations: 212 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.445e-05/0.349, allocations: 63.28 kB / 1.08 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.79e-05/0.3491, allocations: 57.05 kB / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3491, allocations: 0 / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3491, allocations: 0 / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3491, allocations: 3.984 kB / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.3495, allocations: 373.3 kB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3495, allocations: 3.938 kB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/0.3495, allocations: 7.938 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3495, allocations: 4 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3496, allocations: 0 / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3496, allocations: 4 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3496, allocations: 0 / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.3499, allocations: 220.4 kB / 1.08 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.3501, allocations: 132.3 kB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.402e-05/0.3501, allocations: 8 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.3503, allocations: 7.984 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.3503, allocations: 15.98 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.3503, allocations: 11.98 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004777/0.3508, allocations: 471 kB / 1.081 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3508, allocations: 0 / 1.081 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00031/0.3511, allocations: 64 kB / 1.081 GB, free: 13.07 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.001052/0.3522, allocations: 437.2 kB / 1.081 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003654/0.3526, allocations: 151.9 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3526, allocations: 8.062 kB / 1.081 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.3527, allocations: 63.84 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.3532, allocations: 96.66 kB / 1.082 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.3546, allocations: 0.8405 MB / 1.082 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005293/0.3551, allocations: 0.8688 MB / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001281/0.3553, allocations: 42.94 kB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.09e-05/0.3554, allocations: 31.44 kB / 1.083 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of SimCode: time 3e-07/0.3554, allocations: 4 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of Templates: time 0.009218/0.3646, allocations: 4.351 MB / 1.088 GB, free: 6.348 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)