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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 109.7 kB / 16.38 MB, free: 6.48 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.001061/0.001061, allocations: 186.7 kB / 17.31 MB, free: 5.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.902/1.902, allocations: 292.3 MB / 0.5496 GB, free: 17.3 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002339/0.00234, allocations: 63.91 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2965, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003763/0.3003, allocations: 2.197 MB / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4737/0.7741, allocations: 1.285 MB / 0.7882 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002513/0.7745, allocations: 2.969 kB / 0.7882 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006422/0.7751, allocations: 181.5 kB / 0.7884 GB, free: 46.56 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.7754, allocations: 129.8 kB / 0.7885 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.7757, allocations: 119.6 kB / 0.7886 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002699/0.776, allocations: 225.9 kB / 0.7888 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.7762, allocations: 50.67 kB / 0.7889 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.7763, allocations: 91.75 kB / 0.789 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.7765, allocations: 96.44 kB / 0.7891 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.7765, allocations: 11.69 kB / 0.7891 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.7766, allocations: 53.58 kB / 0.7891 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.185e-05/0.7767, allocations: 85.73 kB / 0.7892 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.7768, allocations: 142.2 kB / 0.7893 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.7771, allocations: 361.1 kB / 0.7897 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7771, allocations: 2.125 kB / 0.7897 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7772, allocations: 0 / 0.7897 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.7772, allocations: 0 / 0.7897 GB, free: 46.35 MB / 0.6544 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.000752/0.7779, allocations: 0.6699 MB / 0.7903 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.778, allocations: 10.69 kB / 0.7903 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.864e-05/0.778, allocations: 45.38 kB / 0.7904 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.7784, allocations: 351.5 kB / 0.7907 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.7784, allocations: 10.47 kB / 0.7907 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.7784, allocations: 5.281 kB / 0.7907 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.7786, allocations: 89.41 kB / 0.7908 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.7786, allocations: 2.906 kB / 0.7908 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.7787, allocations: 0 / 0.7908 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.7787, allocations: 0.625 kB / 0.7908 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.331e-05/0.7788, allocations: 37.28 kB / 0.7909 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/0.7793, allocations: 460.7 kB / 0.7913 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.7795, allocations: 65.14 kB / 0.7914 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.334e-05/0.7796, allocations: 28.11 kB / 0.7914 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.7796, allocations: 5.766 kB / 0.7914 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.7797, allocations: 74.73 kB / 0.7915 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.7798, allocations: 0 / 0.7915 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0003006/0.7801, allocations: 147.8 kB / 0.7916 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.7801, allocations: 54.03 kB / 0.7917 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000458/0.7806, allocations: 0.539 MB / 0.7922 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.7806, allocations: 30.3 kB / 0.7922 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.7807, allocations: 218.9 kB / 0.7924 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.7808, allocations: 12.61 kB / 0.7924 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.307e-05/0.7808, allocations: 44.83 kB / 0.7925 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.861e-05/0.7809, allocations: 365.6 kB / 0.7928 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.366e-05/0.781, allocations: 45.53 kB / 0.7929 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.516e-05/0.7811, allocations: 74.19 kB / 0.7929 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.7813, allocations: 97.89 kB / 0.793 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7813, allocations: 0 / 0.793 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002492/0.7815, allocations: 190.4 kB / 0.7932 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.7816, allocations: 4.312 kB / 0.7932 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.7816, allocations: 0 / 0.7932 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.7816, allocations: 3.438 kB / 0.7932 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.7817, allocations: 25.16 kB / 0.7932 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.7817, allocations: 3.188 kB / 0.7933 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.7818, allocations: 17.84 kB / 0.7933 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.7819, allocations: 14.91 kB / 0.7933 GB, free: 44.33 MB / 0.6544 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.000142/0.782, allocations: 179.7 kB / 0.7935 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.782, allocations: 41.47 kB / 0.7935 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.816e-05/0.7821, allocations: 43.53 kB / 0.7935 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.7821, allocations: 0 / 0.7935 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7821, allocations: 3.75 kB / 0.7935 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.063e-05/0.7822, allocations: 121.6 kB / 0.7937 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.7822, allocations: 5.859 kB / 0.7937 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.822e-05/0.7823, allocations: 6.109 kB / 0.7937 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.7824, allocations: 9.25 kB / 0.7937 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001845/0.7826, allocations: 169.5 kB / 0.7938 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001928/0.7828, allocations: 304.5 kB / 0.7941 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.967e-05/0.7828, allocations: 26.19 kB / 0.7942 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002956/0.7831, allocations: 363.6 kB / 0.7945 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of Backend: time 3.11e-07/0.7831, allocations: 0 / 0.7945 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001332/0.7845, allocations: 492.5 kB / 0.795 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001025/0.7855, allocations: 1.12 MB / 0.7961 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.006621/0.7921, allocations: 2.872 MB / 0.7989 GB, free: 42.64 MB / 0.6544 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)