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.001343/0.001343, 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.0014/0.0014, allocations: 192.6 kB / 16.14 MB, free: 6.688 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.377/1.377, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.923/2.923, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.97 kB / 0.9114 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3892, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003832/0.3931, allocations: 2.506 MB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002521/0.3957, allocations: 1.553 MB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.3958, allocations: 4 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009685/0.3968, allocations: 307.4 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004262/0.3973, allocations: 199.3 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000593/0.3979, allocations: 241.9 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003811/0.3983, allocations: 382.7 kB / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.3984, allocations: 65 kB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.3986, allocations: 147.3 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.3988, allocations: 159.2 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.3989, allocations: 8 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.399, allocations: 59.91 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.3992, allocations: 127.5 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.3993, allocations: 190.5 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004739/0.3998, allocations: 486.1 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3998, allocations: 3.984 kB / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.12e-07/0.3998, allocations: 0 / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.3999, allocations: 4 kB / 1.074 GB, free: 4.496 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.001196/0.4011, allocations: 0.8258 MB / 1.075 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4011, allocations: 12.03 kB / 1.075 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.523e-05/0.4012, allocations: 52.28 kB / 1.075 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005544/0.4018, allocations: 440.8 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.4018, allocations: 11.94 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.4018, allocations: 8 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.4022, allocations: 146.3 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.4022, allocations: 4 kB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.4022, allocations: 7.984 kB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4022, allocations: 3.938 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.4024, allocations: 67.97 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008176/0.4032, allocations: 0.5822 MB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.4035, allocations: 126.7 kB / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.4036, allocations: 44.84 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.4037, allocations: 4 kB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.4039, allocations: 107.3 kB / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.4039, allocations: 4 kB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0005072/0.4044, allocations: 236.9 kB / 1.076 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.4045, allocations: 85.11 kB / 1.076 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007519/0.4053, allocations: 0.6798 MB / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.4053, allocations: 33.7 kB / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.4055, allocations: 260.4 kB / 1.077 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.4056, allocations: 35.59 kB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-05/0.4057, allocations: 65.56 kB / 1.077 GB, free: 472 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.4059, allocations: 374.8 kB / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.406, allocations: 75.91 kB / 1.078 GB, free: 12 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.4062, allocations: 117.8 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.4065, allocations: 139 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4065, allocations: 3.938 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004436/0.4069, allocations: 266.5 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.407, allocations: 4 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.407, allocations: 0 / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.407, allocations: 4 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.4072, allocations: 39.92 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.4072, allocations: 3.984 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.4073, allocations: 27.89 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.4074, allocations: 8 kB / 1.078 GB, free: 15.38 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.0002271/0.4076, allocations: 207.5 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.463e-05/0.4077, allocations: 55.28 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.993e-05/0.4078, allocations: 57.05 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.4078, allocations: 4 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.4078, allocations: 7.938 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4078, allocations: 4 kB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.4082, allocations: 369.3 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4082, allocations: 3.938 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.4082, allocations: 11.98 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4082, allocations: 0 / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.4083, allocations: 8 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4083, allocations: 0 / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.4083, allocations: 0 / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.4086, allocations: 220 kB / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.4088, allocations: 132.3 kB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.709e-05/0.4088, allocations: 7.984 kB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.409, allocations: 15.98 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.409, allocations: 19.92 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.4091, allocations: 7.938 kB / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005043/0.4096, allocations: 463 kB / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4096, allocations: 0 / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003108/0.4099, allocations: 63.98 kB / 1.08 GB, free: 13.66 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.001048/0.4109, allocations: 443.9 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003739/0.4113, allocations: 147.9 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4113, allocations: 0 / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.4115, allocations: 59.92 kB / 1.081 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005334/0.412, allocations: 88.75 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.4134, allocations: 0.9477 MB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000537/0.414, allocations: 0.8575 MB / 1.083 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001539/0.4142, allocations: 50.94 kB / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.886e-05/0.4142, allocations: 27.42 kB / 1.083 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of SimCode: time 4.1e-07/0.4142, allocations: 0 / 1.083 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of Templates: time 0.00927/0.4235, allocations: 4.125 MB / 1.087 GB, free: 7.078 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)