Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.771/1.771, allocations: 288.3 MB / 303.2 MB, free: 8.145 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.001117/0.001117, allocations: 177 kB / 371.8 MB, free: 10.3 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.815/1.815, allocations: 205.4 MB / 0.6306 GB, free: 10.05 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.0009587/0.0009586, allocations: 86.86 kB / 0.7439 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005681/0.0005681, allocations: 12.28 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2849, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003676/0.2887, allocations: 2.052 MB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003061/0.2918, allocations: 1.34 MB / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.292, allocations: 4 kB / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.2932, allocations: 299.1 kB / 0.983 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000582/0.2938, allocations: 183.5 kB / 0.9832 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009578/0.2948, allocations: 195.6 kB / 0.9834 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004579/0.2953, allocations: 243.4 kB / 0.9836 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.2955, allocations: 68.88 kB / 0.9837 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.2958, allocations: 143.4 kB / 0.9838 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.296, allocations: 135.4 kB / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.777e-05/0.2961, allocations: 4 kB / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.2963, allocations: 51.95 kB / 0.984 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.2965, allocations: 111.6 kB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.2966, allocations: 105.4 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004836/0.2971, allocations: 371.3 kB / 0.9846 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2971, allocations: 4 kB / 0.9846 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.003e-06/0.2971, allocations: 0 / 0.9846 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.2971, allocations: 0 / 0.9846 GB, free: 22.43 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001423/0.2986, allocations: 0.7647 MB / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.2986, allocations: 12.03 kB / 0.9853 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.2988, allocations: 59.2 kB / 0.9854 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007178/0.2995, allocations: 408 kB / 0.9858 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/0.2996, allocations: 8.188 kB / 0.9858 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.2996, allocations: 11.98 kB / 0.9858 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004095/0.3, allocations: 142.7 kB / 0.9859 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.3001, allocations: 4 kB / 0.9859 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.3001, allocations: 7.938 kB / 0.9859 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.3001, allocations: 4 kB / 0.986 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002689/0.3004, allocations: 60.53 kB / 0.986 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.3017, allocations: 0.5977 MB / 0.9866 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004899/0.3022, allocations: 118.8 kB / 0.9867 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-05/0.3022, allocations: 3.938 kB / 0.9867 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003684/0.3026, allocations: 112.1 kB / 0.9868 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.595e-06/0.3026, allocations: 0 / 0.9868 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0008005/0.3035, allocations: 231.2 kB / 0.987 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.3035, allocations: 81.11 kB / 0.9871 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.3046, allocations: 0.6759 MB / 0.9878 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.3046, allocations: 33.64 kB / 0.9878 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.3049, allocations: 268.5 kB / 0.9881 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/0.305, allocations: 39.64 kB / 0.9881 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.834e-05/0.305, allocations: 7.938 kB / 0.9881 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3052, allocations: 370.8 kB / 0.9885 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.3054, allocations: 71.97 kB / 0.9885 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.3057, allocations: 122.4 kB / 0.9886 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.3059, allocations: 78.98 kB / 0.9887 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.306, allocations: 0 / 0.9887 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007014/0.3067, allocations: 268.9 kB / 0.989 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.3067, allocations: 4 kB / 0.989 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.3067, allocations: 4 kB / 0.989 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.3068, allocations: 0 / 0.989 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.307, allocations: 39.92 kB / 0.989 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.3071, allocations: 4.062 kB / 0.989 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.3074, allocations: 31.83 kB / 0.9891 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.3074, allocations: 4 kB / 0.9891 GB, free: 17.59 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0003005/0.3077, allocations: 211.5 kB / 0.9893 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.463e-05/0.3078, allocations: 55.3 kB / 0.9893 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.308, allocations: 57.05 kB / 0.9894 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.308, allocations: 11.98 kB / 0.9894 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.308, allocations: 0 / 0.9894 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3081, allocations: 0 / 0.9894 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.3085, allocations: 369.3 kB / 0.9897 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3085, allocations: 0 / 0.9897 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.101e-05/0.3086, allocations: 12 kB / 0.9897 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.3086, allocations: 3.953 kB / 0.9897 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.3086, allocations: 11.98 kB / 0.9898 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3087, allocations: 0 / 0.9898 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.3087, allocations: 0 / 0.9898 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005266/0.3092, allocations: 216.4 kB / 0.99 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.3094, allocations: 136.3 kB / 0.9901 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.9e-05/0.3095, allocations: 11.94 kB / 0.9901 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.3097, allocations: 8 kB / 0.9901 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.362e-05/0.3098, allocations: 19.97 kB / 0.9901 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.3099, allocations: 11.98 kB / 0.9901 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007234/0.3106, allocations: 467 kB / 0.9906 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3106, allocations: 0 / 0.9906 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005277/0.3111, allocations: 64 kB / 0.9907 GB, free: 15.85 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: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001505/0.3127, allocations: 442 kB / 0.9911 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005243/0.3132, allocations: 147.9 kB / 0.9912 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3132, allocations: 4.125 kB / 0.9912 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.3135, allocations: 59.97 kB / 0.9913 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/0.3142, allocations: 84.31 kB / 0.9914 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.316, allocations: 0.9068 MB / 0.9922 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.3164, allocations: 0.8769 MB / 0.9931 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002393/0.3167, allocations: 46.94 kB / 0.9931 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.3168, allocations: 35.38 kB / 0.9932 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of SimCode: time 9.42e-07/0.3168, allocations: 0 / 0.9932 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of Templates: time 0.01512/0.332, allocations: 3.971 MB / 0.9971 GB, free: 9.426 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)