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.0009421/0.0009419, allocations: 98.27 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.005982/0.005982, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.488/1.488, allocations: 223.3 MB / 240.3 MB, free: 5.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.862/2.862, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006082/0.0006084, allocations: 16.84 kB / 0.9158 GB, free: 33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3119, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002863/0.3149, allocations: 2.154 MB / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002275/0.3171, allocations: 1.526 MB / 1.078 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.3173, allocations: 7.938 kB / 1.078 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008663/0.3182, allocations: 307.5 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003726/0.3186, allocations: 191.3 kB / 1.078 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006165/0.3192, allocations: 246 kB / 1.078 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004011/0.3196, allocations: 374.7 kB / 1.079 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.3198, allocations: 68.98 kB / 1.079 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.32, allocations: 139.2 kB / 1.079 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.3202, allocations: 151.2 kB / 1.079 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.3202, allocations: 8 kB / 1.079 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.3204, allocations: 55.95 kB / 1.079 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.3205, allocations: 127.5 kB / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.3207, allocations: 204.3 kB / 1.08 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004488/0.3212, allocations: 478 kB / 1.08 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3212, allocations: 0 / 1.08 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3212, allocations: 0 / 1.08 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.3212, allocations: 0 / 1.08 GB, free: 1.547 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.001188/0.3224, allocations: 0.7599 MB / 1.081 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.3224, allocations: 12.03 kB / 1.081 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.975e-05/0.3225, allocations: 56.19 kB / 1.081 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005168/0.3231, allocations: 428.9 kB / 1.081 GB, free: 212 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.3231, allocations: 11.94 kB / 1.081 GB, free: 200 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.3231, allocations: 12 kB / 1.081 GB, free: 188 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.3234, allocations: 141 kB / 1.081 GB, free: 36 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.3234, allocations: 4 kB / 1.081 GB, free: 32 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.3235, allocations: 4 kB / 1.081 GB, free: 28 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.3235, allocations: 11.92 kB / 1.081 GB, free: 16 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.3237, allocations: 63.97 kB / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008493/0.3245, allocations: 0.5861 MB / 1.082 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.3249, allocations: 122.7 kB / 1.082 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.325, allocations: 48.83 kB / 1.082 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.325, allocations: 4 kB / 1.082 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/0.3253, allocations: 109.8 kB / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.744e-06/0.3253, allocations: 3.938 kB / 1.082 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0005075/0.3258, allocations: 244.9 kB / 1.083 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.3258, allocations: 77.11 kB / 1.083 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007349/0.3266, allocations: 0.6837 MB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.3266, allocations: 33.7 kB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.3268, allocations: 264.3 kB / 1.084 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.3269, allocations: 35.61 kB / 1.084 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.3269, allocations: 29.7 kB / 1.084 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3271, allocations: 370.8 kB / 1.084 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.3272, allocations: 75.91 kB / 1.084 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.3274, allocations: 121.8 kB / 1.084 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.3277, allocations: 137.3 kB / 1.084 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.3277, allocations: 3.938 kB / 1.084 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004225/0.3281, allocations: 272.7 kB / 1.085 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.3281, allocations: 7.984 kB / 1.085 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3282, allocations: 8.062 kB / 1.085 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3282, allocations: 0 / 1.085 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.3283, allocations: 35.92 kB / 1.085 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3284, allocations: 0 / 1.085 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.3285, allocations: 31.83 kB / 1.085 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.3286, allocations: 4 kB / 1.085 GB, free: 12.52 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.0002289/0.3288, allocations: 215.5 kB / 1.085 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/0.3289, allocations: 55.28 kB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.547e-05/0.329, allocations: 57.05 kB / 1.085 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.329, allocations: 4 kB / 1.085 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.329, allocations: 0 / 1.085 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.329, allocations: 3.984 kB / 1.085 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/0.3294, allocations: 373.3 kB / 1.085 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3294, allocations: 3.938 kB / 1.085 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.3294, allocations: 16 kB / 1.085 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3294, allocations: 0 / 1.085 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3295, allocations: 8 kB / 1.085 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3295, allocations: 0 / 1.085 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3295, allocations: 0 / 1.085 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000357/0.3298, allocations: 219.9 kB / 1.086 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.33, allocations: 144.3 kB / 1.086 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.33, allocations: 0 / 1.086 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.3302, allocations: 23.98 kB / 1.086 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.3302, allocations: 11.97 kB / 1.086 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.3302, allocations: 12 kB / 1.086 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000517/0.3308, allocations: 463 kB / 1.086 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3308, allocations: 0 / 1.086 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003042/0.3311, allocations: 67.92 kB / 1.086 GB, free: 10.79 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.001054/0.3321, allocations: 434.8 kB / 1.087 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003593/0.3325, allocations: 155.8 kB / 1.087 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3325, allocations: 0 / 1.087 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.3327, allocations: 55.97 kB / 1.087 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005294/0.3332, allocations: 94.86 kB / 1.087 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.3345, allocations: 0.9732 MB / 1.088 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.3349, allocations: 0.8613 MB / 1.089 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001283/0.3351, allocations: 46.95 kB / 1.089 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.117e-05/0.3351, allocations: 31.42 kB / 1.089 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of SimCode: time 6.81e-07/0.3351, allocations: 0 / 1.089 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of Templates: time 0.008895/0.344, allocations: 4.071 MB / 1.093 GB, free: 4.223 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)