Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.682/1.682, allocations: 292.3 MB / 308.1 MB, free: 4.289 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.001546/0.001546, allocations: 198.2 kB / 376.9 MB, free: 1.766 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205 MB / 0.6354 GB, free: 9.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 99.55 kB / 0.748 GB, free: 61.33 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009936/0.0009938, allocations: 60.16 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2633, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004047/0.2674, allocations: 2.241 MB / 0.9844 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002151/0.2696, allocations: 1.274 MB / 0.9857 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.2698, allocations: 0 / 0.9857 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0006206/0.2704, allocations: 191.6 kB / 0.9858 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003143/0.2708, allocations: 107.5 kB / 0.9859 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.2711, allocations: 115.8 kB / 0.9861 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.2714, allocations: 219.1 kB / 0.9863 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.2716, allocations: 44.61 kB / 0.9863 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.2718, allocations: 91.52 kB / 0.9864 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.272, allocations: 95.48 kB / 0.9865 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.272, allocations: 12 kB / 0.9865 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.2722, allocations: 43.91 kB / 0.9865 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.2723, allocations: 91.66 kB / 0.9866 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.2724, allocations: 123 kB / 0.9867 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.2728, allocations: 342.7 kB / 0.9871 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2728, allocations: 0 / 0.9871 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2729, allocations: 0 / 0.9871 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.2729, allocations: 0 / 0.9871 GB, free: 5.363 MB / 0.7136 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.001173/0.274, allocations: 0.684 MB / 0.9877 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.2741, allocations: 16.03 kB / 0.9878 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.2742, allocations: 40.47 kB / 0.9878 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/0.2747, allocations: 352.3 kB / 0.9881 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.2747, allocations: 8.375 kB / 0.9881 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.2748, allocations: 7.938 kB / 0.9881 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.275, allocations: 73.66 kB / 0.9882 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.275, allocations: 4 kB / 0.9882 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.275, allocations: 0 / 0.9882 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.275, allocations: 0 / 0.9882 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.2752, allocations: 51.84 kB / 0.9883 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008259/0.276, allocations: 452.5 kB / 0.9887 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.2762, allocations: 62.62 kB / 0.9888 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.176e-05/0.2763, allocations: 32.84 kB / 0.9888 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.2763, allocations: 0 / 0.9888 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.2765, allocations: 79.36 kB / 0.9889 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.2765, allocations: 0 / 0.9889 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0003267/0.2768, allocations: 145 kB / 0.989 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.2769, allocations: 59.34 kB / 0.9891 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005343/0.2774, allocations: 0.5332 MB / 0.9896 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.2775, allocations: 33.7 kB / 0.9896 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.2776, allocations: 215.9 kB / 0.9898 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.2777, allocations: 15.89 kB / 0.9898 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.2777, allocations: 41.61 kB / 0.9899 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2779, allocations: 358.8 kB / 0.9902 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.453e-05/0.278, allocations: 43.98 kB / 0.9903 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.2781, allocations: 80.89 kB / 0.9903 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.2783, allocations: 89.64 kB / 0.9904 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2783, allocations: 0 / 0.9904 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002954/0.2786, allocations: 195.3 kB / 0.9906 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.2786, allocations: 4 kB / 0.9906 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2786, allocations: 0 / 0.9906 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.2786, allocations: 3.938 kB / 0.9906 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.2788, allocations: 35.92 kB / 0.9906 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.2788, allocations: 0 / 0.9906 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.2789, allocations: 16.23 kB / 0.9907 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.2789, allocations: 8 kB / 0.9907 GB, free: 1.434 MB / 0.7136 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 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001773/0.2791, allocations: 181.8 kB / 0.9908 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.2791, allocations: 47.38 kB / 0.9909 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.909e-05/0.2792, allocations: 43.81 kB / 0.9909 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.2793, allocations: 3.938 kB / 0.9909 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.2793, allocations: 4.109 kB / 0.9909 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.2793, allocations: 7.922 kB / 0.9909 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.2795, allocations: 293.5 kB / 0.9912 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2795, allocations: 0 / 0.9912 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.2796, allocations: 4 kB / 0.9912 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.2796, allocations: 3.984 kB / 0.9912 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.2796, allocations: 4 kB / 0.9912 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.2796, allocations: 3.938 kB / 0.9912 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2796, allocations: 0 / 0.9912 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006109/0.2802, allocations: 0.8143 MB / 0.992 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.25e-05/0.2803, allocations: 112.5 kB / 0.9921 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.2804, allocations: 8 kB / 0.9922 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.2805, allocations: 7.984 kB / 0.9922 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.2805, allocations: 7.984 kB / 0.9922 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.2805, allocations: 4 kB / 0.9922 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003555/0.2809, allocations: 366.8 kB / 0.9925 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2809, allocations: 0 / 0.9925 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003427/0.2813, allocations: 43.98 kB / 0.9926 GB, free: 15.36 MB / 0.7292 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 (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.0009029/0.2822, allocations: 417.2 kB / 0.993 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.2824, allocations: 95.91 kB / 0.9931 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2824, allocations: 0 / 0.9931 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.419e-05/0.2825, allocations: 27.98 kB / 0.9931 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.2829, allocations: 61.86 kB / 0.9931 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.284, allocations: 0.8323 MB / 0.9939 GB, free: 14 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.2844, allocations: 0.8219 MB / 0.9948 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.357e-05/0.2845, allocations: 21.53 kB / 0.9948 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.073e-05/0.2845, allocations: 23.42 kB / 0.9948 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.2845, allocations: 0 / 0.9948 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of Templates: time 0.006993/0.2915, allocations: 2.777 MB / 0.9975 GB, free: 10.34 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)