Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.756/2.756, allocations: 287.5 MB / 302.4 MB, free: 8.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001433/0.001432, allocations: 178.3 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.309/2.309, allocations: 205.4 MB / 0.6297 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009446/0.0009438, allocations: 96.16 kB / 0.743 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007579/0.0007583, allocations: 12.22 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2453, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003025/0.2484, allocations: 1.835 MB / 0.9801 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00252/0.251, allocations: 1.192 MB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.2512, allocations: 7.938 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007229/0.2519, allocations: 167.3 kB / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004105/0.2524, allocations: 111.5 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005889/0.253, allocations: 101.4 kB / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003756/0.2534, allocations: 203.1 kB / 0.9819 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.2536, allocations: 40.38 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.2537, allocations: 95.56 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.2539, allocations: 83.58 kB / 0.9821 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.222e-05/0.254, allocations: 4 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.2542, allocations: 39.95 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.2544, allocations: 83.67 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.177e-05/0.2545, allocations: 77.52 kB / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003693/0.2548, allocations: 263.6 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.2549, allocations: 0 / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2549, allocations: 3.938 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.495e-06/0.2549, allocations: 4 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001022/0.2559, allocations: 0.626 MB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.256, allocations: 8.031 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.09e-05/0.2561, allocations: 47.39 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005009/0.2566, allocations: 323.3 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.2566, allocations: 4 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.2567, allocations: 15.92 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.2569, allocations: 77.59 kB / 0.9836 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2569, allocations: 4 kB / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.257, allocations: 0 / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.257, allocations: 0 / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.2571, allocations: 39.94 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008707/0.258, allocations: 460.5 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.2583, allocations: 70.61 kB / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.895e-05/0.2584, allocations: 24.81 kB / 0.9842 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.2585, allocations: 3.984 kB / 0.9842 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.2587, allocations: 75.39 kB / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 2.945e-06/0.2587, allocations: 0 / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004722/0.2592, allocations: 153 kB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.2592, allocations: 51.41 kB / 0.9844 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007341/0.26, allocations: 0.5293 MB / 0.985 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.26, allocations: 25.7 kB / 0.985 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.2602, allocations: 228 kB / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.2603, allocations: 11.84 kB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.474e-05/0.2603, allocations: 8 kB / 0.9852 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2604, allocations: 358.8 kB / 0.9856 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.2606, allocations: 52 kB / 0.9856 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.2607, allocations: 76.67 kB / 0.9857 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.2609, allocations: 58.17 kB / 0.9857 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2609, allocations: 0 / 0.9857 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004605/0.2614, allocations: 201 kB / 0.9859 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.2615, allocations: 4 kB / 0.9859 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.2615, allocations: 0 / 0.9859 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.2615, allocations: 0 / 0.9859 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.2617, allocations: 27.92 kB / 0.986 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.2617, allocations: 0 / 0.986 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.262, allocations: 19.98 kB / 0.986 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.504e-05/0.262, allocations: 4 kB / 0.986 GB, free: 20.27 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002435/0.2623, allocations: 185.8 kB / 0.9862 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.207e-05/0.2624, allocations: 47.39 kB / 0.9862 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.764e-05/0.2625, allocations: 43.8 kB / 0.9863 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2625, allocations: 0 / 0.9863 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2625, allocations: 0 / 0.9863 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2625, allocations: 3.938 kB / 0.9863 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.2628, allocations: 297.5 kB / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.2628, allocations: 256 / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.2629, allocations: 8 kB / 0.9866 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.2629, allocations: 4 kB / 0.9866 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.2629, allocations: 7.938 kB / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.2629, allocations: 0 / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.263, allocations: 4 kB / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.2633, allocations: 144.5 kB / 0.9867 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.958e-05/0.2634, allocations: 116.6 kB / 0.9868 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.684e-05/0.2635, allocations: 3.984 kB / 0.9868 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.2637, allocations: 15.95 kB / 0.9868 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.2637, allocations: 15.98 kB / 0.9868 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.2638, allocations: 3.984 kB / 0.9869 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005079/0.2643, allocations: 358.8 kB / 0.9872 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2643, allocations: 3.938 kB / 0.9872 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003927/0.2647, allocations: 51.84 kB / 0.9872 GB, free: 18.88 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001204/0.2659, allocations: 417.8 kB / 0.9876 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004372/0.2664, allocations: 99.91 kB / 0.9877 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.2664, allocations: 0 / 0.9877 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.2665, allocations: 27.98 kB / 0.9878 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/0.2671, allocations: 51.12 kB / 0.9878 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.2684, allocations: 0.7143 MB / 0.9885 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.2687, allocations: 0.8141 MB / 0.9893 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001474/0.2689, allocations: 29.52 kB / 0.9893 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.66e-05/0.269, allocations: 23.42 kB / 0.9894 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of SimCode: time 9.32e-07/0.269, allocations: 3.938 kB / 0.9894 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of Templates: time 0.009856/0.2788, allocations: 2.632 MB / 0.9919 GB, free: 14.2 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)