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.742/1.742, allocations: 289.7 MB / 302.2 MB, free: 2.148 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.001261/0.001261, allocations: 182.3 kB / 371.6 MB, free: 3.363 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.3/1.3, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.000807/0.0008073, allocations: 88.77 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 2.729e-05/2.74e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1916, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6051/0.7967, allocations: 144.1 MB / 1.121 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.797, allocations: 94.34 kB / 1.121 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.023/0.82, allocations: 10.17 MB / 1.131 GB, free: 34.91 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.242e-06/0.82, allocations: 0 / 1.131 GB, free: 34.91 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.567e-05/0.8201, allocations: 4 kB / 1.131 GB, free: 34.91 MB / 0.7448 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.0005481/0.8206, allocations: 0.5681 MB / 1.131 GB, free: 34.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.8207, allocations: 11.55 kB / 1.131 GB, free: 34.35 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.744e-05/0.8208, allocations: 46.03 kB / 1.131 GB, free: 34.3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004712/0.8212, allocations: 350.2 kB / 1.131 GB, free: 33.97 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.8213, allocations: 7.266 kB / 1.131 GB, free: 33.96 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.8213, allocations: 14.62 kB / 1.131 GB, free: 33.96 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.8214, allocations: 73.53 kB / 1.132 GB, free: 33.9 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.8215, allocations: 0 / 1.132 GB, free: 33.9 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.8215, allocations: 3.562 kB / 1.132 GB, free: 33.9 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.8215, allocations: 0.75 kB / 1.132 GB, free: 33.9 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.453e-05/0.8216, allocations: 33.72 kB / 1.132 GB, free: 33.88 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006117/0.8222, allocations: 477 kB / 1.132 GB, free: 33.51 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.8223, allocations: 66.56 kB / 1.132 GB, free: 33.46 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.918e-05/0.8224, allocations: 27.73 kB / 1.132 GB, free: 33.43 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.8224, allocations: 0 / 1.132 GB, free: 33.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/0.8225, allocations: 75.72 kB / 1.132 GB, free: 33.37 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.8225, allocations: 0 / 1.132 GB, free: 33.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0002201/0.8227, allocations: 128.8 kB / 1.132 GB, free: 33.26 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.8228, allocations: 51.41 kB / 1.132 GB, free: 33.2 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004487/0.8232, allocations: 479 kB / 1.133 GB, free: 32.86 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.8232, allocations: 29.08 kB / 1.133 GB, free: 32.83 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.8234, allocations: 223.5 kB / 1.133 GB, free: 32.71 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.8234, allocations: 18.83 kB / 1.133 GB, free: 32.7 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/0.8234, allocations: 0.75 kB / 1.133 GB, free: 32.7 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.023e-05/0.8235, allocations: 362.7 kB / 1.133 GB, free: 32.37 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.06e-05/0.8235, allocations: 57.03 kB / 1.134 GB, free: 32.34 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.57e-05/0.8236, allocations: 83.64 kB / 1.134 GB, free: 32.27 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.567e-05/0.8237, allocations: 57.7 kB / 1.134 GB, free: 32.24 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8237, allocations: 0 / 1.134 GB, free: 32.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002469/0.824, allocations: 212.8 kB / 1.134 GB, free: 32.08 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.824, allocations: 4 kB / 1.134 GB, free: 32.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.824, allocations: 0.6562 kB / 1.134 GB, free: 32.08 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.824, allocations: 0 / 1.134 GB, free: 32.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.8242, allocations: 27.41 kB / 1.134 GB, free: 32.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.8242, allocations: 3.953 kB / 1.134 GB, free: 32.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.8243, allocations: 22.94 kB / 1.134 GB, free: 32.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.8243, allocations: 4 kB / 1.134 GB, free: 32.03 MB / 0.7448 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 () * 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 4.999e-05/0.8244, allocations: 116.2 kB / 1.134 GB, free: 31.92 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.8244, allocations: 47.84 kB / 1.134 GB, free: 31.88 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.8246, allocations: 135.6 kB / 1.134 GB, free: 31.77 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.8246, allocations: 0 / 1.134 GB, free: 31.77 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.8246, allocations: 5.375 kB / 1.134 GB, free: 31.77 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.8247, allocations: 3.953 kB / 1.134 GB, free: 31.77 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.8248, allocations: 296.5 kB / 1.134 GB, free: 31.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.8248, allocations: 7.375 kB / 1.134 GB, free: 31.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.742e-05/0.8249, allocations: 4 kB / 1.134 GB, free: 31.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.8249, allocations: 0 / 1.134 GB, free: 31.51 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.8249, allocations: 4.562 kB / 1.134 GB, free: 31.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8249, allocations: 0 / 1.134 GB, free: 31.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.8249, allocations: 0 / 1.134 GB, free: 31.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.8251, allocations: 168.6 kB / 1.135 GB, free: 31.35 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-05/0.8251, allocations: 120 kB / 1.135 GB, free: 31.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.8252, allocations: 11.23 kB / 1.135 GB, free: 31.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.688e-05/0.8253, allocations: 8.844 kB / 1.135 GB, free: 31.21 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.8253, allocations: 11.03 kB / 1.135 GB, free: 31.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.8254, allocations: 0 / 1.135 GB, free: 31.2 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003181/0.8257, allocations: 362.3 kB / 1.135 GB, free: 30.96 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8257, allocations: 0 / 1.135 GB, free: 30.96 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002842/0.826, allocations: 58.88 kB / 1.135 GB, free: 30.91 MB / 0.7448 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 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0008968/0.8269, allocations: 416.9 kB / 1.136 GB, free: 30.65 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.8271, allocations: 98.78 kB / 1.136 GB, free: 30.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8271, allocations: 0 / 1.136 GB, free: 30.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.36e-05/0.8271, allocations: 32.5 kB / 1.136 GB, free: 30.56 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.8275, allocations: 58.05 kB / 1.136 GB, free: 30.54 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/0.8281, allocations: 448.5 kB / 1.136 GB, free: 30.17 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.8283, allocations: 0.8238 MB / 1.137 GB, free: 29.39 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.18e-05/0.8284, allocations: 28.34 kB / 1.137 GB, free: 29.37 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.8284, allocations: 26.84 kB / 1.137 GB, free: 29.35 MB / 0.7448 GB Notification: Performance of SimCode: time 3e-07/0.8284, allocations: 0 / 1.137 GB, free: 29.35 MB / 0.7448 GB Notification: Performance of Templates: time 0.006116/0.8345, allocations: 3.229 MB / 1.14 GB, free: 27.5 MB / 0.7448 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)