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.001136/0.001136, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001459/0.001459, allocations: 193 kB / 16.14 MB, free: 6.695 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.399/1.399, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.998/2.998, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 61.72 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3888, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004056/0.3929, allocations: 2.505 MB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002296/0.3952, allocations: 1.545 MB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.3954, allocations: 7.938 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008839/0.3963, allocations: 307.5 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003923/0.3967, allocations: 195.2 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000589/0.3973, allocations: 250.2 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000375/0.3977, allocations: 378.7 kB / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.3978, allocations: 72.92 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.398, allocations: 143.3 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.3982, allocations: 159.2 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/0.3982, allocations: 11.94 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.3984, allocations: 59.95 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.3986, allocations: 127.5 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.3987, allocations: 178.6 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004568/0.3992, allocations: 482.2 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3992, allocations: 7.938 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3992, allocations: 3.938 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.3992, allocations: 4 kB / 1.074 GB, free: 4.422 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.001187/0.4004, allocations: 0.8335 MB / 1.075 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.4005, allocations: 8.031 kB / 1.075 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.546e-05/0.4006, allocations: 56.28 kB / 1.075 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005146/0.4011, allocations: 428.8 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.4011, allocations: 15.92 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.4012, allocations: 16 kB / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.4015, allocations: 142.3 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.4015, allocations: 0 / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.4015, allocations: 4 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.4015, allocations: 3.938 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.4017, allocations: 71.91 kB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008559/0.4026, allocations: 0.5705 MB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.4029, allocations: 130.7 kB / 1.076 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.403, allocations: 44.84 kB / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.403, allocations: 4 kB / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.4033, allocations: 115.3 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.4033, allocations: 0 / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0005633/0.4039, allocations: 237 kB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.349e-05/0.404, allocations: 85.11 kB / 1.076 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008249/0.4048, allocations: 0.6837 MB / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.4048, allocations: 37.64 kB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.4051, allocations: 260.3 kB / 1.077 GB, free: 500 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.4051, allocations: 39.53 kB / 1.077 GB, free: 460 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.4052, allocations: 53.7 kB / 1.077 GB, free: 400 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.4054, allocations: 370.8 kB / 1.078 GB, free: 20 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.4056, allocations: 71.91 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.4058, allocations: 130.6 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.4061, allocations: 131.1 kB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.4061, allocations: 3.938 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000452/0.4066, allocations: 274.5 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.4066, allocations: 4 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.4066, allocations: 0 / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.4067, allocations: 4 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.4068, allocations: 35.91 kB / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.4069, allocations: 4 kB / 1.078 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.407, allocations: 19.89 kB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.4071, allocations: 12 kB / 1.078 GB, free: 15.31 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.0002402/0.4073, allocations: 219.5 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.677e-05/0.4074, allocations: 59.28 kB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.4075, allocations: 53.05 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.4075, allocations: 0 / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4075, allocations: 4 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4075, allocations: 0 / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003579/0.4079, allocations: 377.3 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.4079, allocations: 7.922 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.4079, allocations: 8 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4079, allocations: 4 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.408, allocations: 0 / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.408, allocations: 3.938 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.408, allocations: 4 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000358/0.4083, allocations: 220.2 kB / 1.079 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.4085, allocations: 132.3 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.649e-05/0.4085, allocations: 15.94 kB / 1.08 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.4087, allocations: 11.98 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.513e-05/0.4087, allocations: 15.98 kB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.4088, allocations: 7.984 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004959/0.4093, allocations: 471 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4093, allocations: 0 / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003083/0.4096, allocations: 63.94 kB / 1.08 GB, free: 13.57 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.001033/0.4106, allocations: 433.3 kB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003603/0.411, allocations: 151.9 kB / 1.081 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.411, allocations: 0 / 1.081 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.4111, allocations: 51.97 kB / 1.081 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.4117, allocations: 93.27 kB / 1.081 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.4132, allocations: 0.944 MB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005501/0.4138, allocations: 0.8614 MB / 1.083 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001602/0.4139, allocations: 50.92 kB / 1.083 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.582e-05/0.414, allocations: 31.44 kB / 1.083 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of SimCode: time 5.01e-07/0.414, allocations: 0 / 1.083 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of Templates: time 0.01097/0.425, allocations: 4.118 MB / 1.087 GB, free: 7 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)