Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.266/2.266, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001338/0.001338, allocations: 181.1 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.458/2.458, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009379/0.0009371, allocations: 87.67 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004668, allocations: 15.09 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2156, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2326/0.4482, allocations: 136.7 MB / 1.033 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003785/0.4487, allocations: 91.95 kB / 1.033 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04381/0.4925, allocations: 10.02 MB / 1.043 GB, free: 14.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4926, allocations: 0 / 1.043 GB, free: 14.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.902e-05/0.4926, allocations: 4 kB / 1.043 GB, free: 14.46 MB / 0.698 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.001224/0.4939, allocations: 0.646 MB / 1.043 GB, free: 13.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.4939, allocations: 15.97 kB / 1.043 GB, free: 13.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.494, allocations: 48.38 kB / 1.044 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006998/0.4948, allocations: 336.6 kB / 1.044 GB, free: 13.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.4948, allocations: 4.375 kB / 1.044 GB, free: 13.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.4948, allocations: 8.375 kB / 1.044 GB, free: 13.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.4951, allocations: 74.22 kB / 1.044 GB, free: 13.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.4951, allocations: 192 / 1.044 GB, free: 13.24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.4952, allocations: 11.92 kB / 1.044 GB, free: 13.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4952, allocations: 3.938 kB / 1.044 GB, free: 13.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.4954, allocations: 43.97 kB / 1.044 GB, free: 13.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009597/0.4963, allocations: 472.4 kB / 1.044 GB, free: 12.67 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.4967, allocations: 74.61 kB / 1.044 GB, free: 12.59 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.4968, allocations: 28.84 kB / 1.045 GB, free: 12.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.4968, allocations: 0 / 1.045 GB, free: 12.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002541/0.4971, allocations: 79.38 kB / 1.045 GB, free: 12.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 2.214e-06/0.4971, allocations: 0 / 1.045 GB, free: 12.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0005078/0.4976, allocations: 141.2 kB / 1.045 GB, free: 12.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.4977, allocations: 59.34 kB / 1.045 GB, free: 12.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00095/0.4987, allocations: 0.5215 MB / 1.045 GB, free: 11.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.4987, allocations: 29.7 kB / 1.045 GB, free: 11.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.499, allocations: 216 kB / 1.046 GB, free: 11.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.499, allocations: 19.75 kB / 1.046 GB, free: 11.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.539e-05/0.499, allocations: 0 / 1.046 GB, free: 11.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.4992, allocations: 362.7 kB / 1.046 GB, free: 11.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.4995, allocations: 55.97 kB / 1.046 GB, free: 11.03 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.4997, allocations: 84.11 kB / 1.046 GB, free: 10.94 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.4999, allocations: 60.97 kB / 1.046 GB, free: 10.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.4999, allocations: 0 / 1.046 GB, free: 10.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005949/0.5005, allocations: 215 kB / 1.046 GB, free: 10.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.5006, allocations: 4 kB / 1.046 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.5006, allocations: 0 / 1.046 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.5006, allocations: 7.984 kB / 1.046 GB, free: 10.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.5009, allocations: 20.06 kB / 1.046 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.5009, allocations: 0 / 1.046 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.5011, allocations: 23.92 kB / 1.046 GB, free: 10.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/0.5012, allocations: 4 kB / 1.046 GB, free: 10.61 MB / 0.698 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.0003254/0.5015, allocations: 193.8 kB / 1.047 GB, free: 10.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.232e-05/0.5016, allocations: 43.38 kB / 1.047 GB, free: 10.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004189/0.502, allocations: 145.4 kB / 1.047 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.5021, allocations: 0 / 1.047 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.5021, allocations: 3.938 kB / 1.047 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.5021, allocations: 0 / 1.047 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/0.5025, allocations: 305.4 kB / 1.047 GB, free: 9.859 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5025, allocations: 256 / 1.047 GB, free: 9.859 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.329e-05/0.5026, allocations: 7.984 kB / 1.047 GB, free: 9.852 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/0.5026, allocations: 8 kB / 1.047 GB, free: 9.844 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.5026, allocations: 0 / 1.047 GB, free: 9.844 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5026, allocations: 0 / 1.047 GB, free: 9.844 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5026, allocations: 0 / 1.047 GB, free: 9.844 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.503, allocations: 164.5 kB / 1.047 GB, free: 9.664 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.5032, allocations: 116.6 kB / 1.047 GB, free: 9.531 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.765e-05/0.5032, allocations: 0 / 1.047 GB, free: 9.531 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.5034, allocations: 11.98 kB / 1.047 GB, free: 9.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.361e-05/0.5035, allocations: 11.98 kB / 1.047 GB, free: 9.508 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.5035, allocations: 4 kB / 1.047 GB, free: 9.504 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006287/0.5042, allocations: 362.8 kB / 1.048 GB, free: 9.152 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5042, allocations: 0 / 1.048 GB, free: 9.152 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004237/0.5046, allocations: 55.86 kB / 1.048 GB, free: 9.098 MB / 0.698 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) * Number of clocked states: 0 () * 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.001351/0.506, allocations: 450.7 kB / 1.048 GB, free: 8.809 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003662/0.5064, allocations: 95.91 kB / 1.048 GB, free: 8.715 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.5064, allocations: 0 / 1.048 GB, free: 8.715 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.5065, allocations: 31.97 kB / 1.048 GB, free: 8.684 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/0.5071, allocations: 56.7 kB / 1.048 GB, free: 8.629 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.5087, allocations: 0.7184 MB / 1.049 GB, free: 7.883 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/0.5092, allocations: 0.8141 MB / 1.05 GB, free: 7.043 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001411/0.5094, allocations: 25.69 kB / 1.05 GB, free: 7.016 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.849e-05/0.5095, allocations: 19.44 kB / 1.05 GB, free: 7 MB / 0.698 GB Notification: Performance of SimCode: time 1.093e-06/0.5095, allocations: 0 / 1.05 GB, free: 7 MB / 0.698 GB Notification: Performance of Templates: time 0.01142/0.5209, allocations: 3.001 MB / 1.053 GB, free: 4.02 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)