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.001514/0.001514, allocations: 107 kB / 15.99 MB, free: 6.348 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.001589/0.001589, allocations: 195 kB / 16.91 MB, free: 6.184 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.382/1.382, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.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.646/1.646, allocations: 292.3 MB / 0.5492 GB, free: 13.59 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.001347/0.001347, allocations: 71.91 kB / 0.6717 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2198, allocations: 114.5 MB / 0.7835 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003666/0.2235, allocations: 2.228 MB / 0.7857 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00184/0.2254, allocations: 1.27 MB / 0.7869 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.2256, allocations: 11.94 kB / 0.7869 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000613/0.2262, allocations: 183.7 kB / 0.7871 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.2265, allocations: 111.5 kB / 0.7872 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.2268, allocations: 111.4 kB / 0.7873 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.2271, allocations: 235.1 kB / 0.7876 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.2273, allocations: 48.59 kB / 0.7876 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.2274, allocations: 99.5 kB / 0.7877 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.2276, allocations: 95.55 kB / 0.7878 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.2276, allocations: 12 kB / 0.7878 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.2277, allocations: 67.86 kB / 0.7879 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.385e-05/0.2278, allocations: 87.67 kB / 0.788 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.228, allocations: 138.9 kB / 0.7881 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.2283, allocations: 267.5 kB / 0.7883 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2283, allocations: 0 / 0.7883 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2283, allocations: 0 / 0.7883 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.2283, allocations: 0 / 0.7883 GB, free: 8.906 MB / 0.6075 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.0009198/0.2292, allocations: 0.6802 MB / 0.789 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2293, allocations: 12.03 kB / 0.789 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.891e-05/0.2294, allocations: 44.38 kB / 0.7891 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.2298, allocations: 352.3 kB / 0.7894 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.2298, allocations: 8.359 kB / 0.7894 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.2298, allocations: 7.938 kB / 0.7894 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.23, allocations: 77.66 kB / 0.7895 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.23, allocations: 0 / 0.7895 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.23, allocations: 0 / 0.7895 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.2301, allocations: 15.88 kB / 0.7895 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.2302, allocations: 35.98 kB / 0.7895 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006567/0.2308, allocations: 452.5 kB / 0.79 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.231, allocations: 70.61 kB / 0.79 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.174e-05/0.2311, allocations: 24.86 kB / 0.7901 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.2311, allocations: 3.984 kB / 0.7901 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.2313, allocations: 75.39 kB / 0.7901 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.2313, allocations: 0 / 0.7901 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0003371/0.2317, allocations: 149 kB / 0.7903 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.2317, allocations: 59.34 kB / 0.7903 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00052/0.2322, allocations: 0.5294 MB / 0.7908 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.2323, allocations: 29.7 kB / 0.7909 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.2324, allocations: 219.9 kB / 0.7911 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.2325, allocations: 19.8 kB / 0.7911 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.277e-05/0.2325, allocations: 45.61 kB / 0.7911 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.2327, allocations: 358.8 kB / 0.7915 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-05/0.2328, allocations: 47.98 kB / 0.7915 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.2329, allocations: 74.55 kB / 0.7916 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.2331, allocations: 92.58 kB / 0.7917 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2331, allocations: 0 / 0.7917 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003235/0.2334, allocations: 193 kB / 0.7919 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2334, allocations: 4 kB / 0.7919 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.2335, allocations: 4 kB / 0.7919 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.2335, allocations: 0 / 0.7919 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.2336, allocations: 35.92 kB / 0.7919 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2336, allocations: 4 kB / 0.7919 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.2337, allocations: 7.938 kB / 0.7919 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.2338, allocations: 7.984 kB / 0.7919 GB, free: 4.973 MB / 0.6075 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.0001678/0.2339, allocations: 187.2 kB / 0.7921 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.234, allocations: 47.38 kB / 0.7922 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.015e-05/0.2341, allocations: 43.8 kB / 0.7922 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2341, allocations: 7.938 kB / 0.7922 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2341, allocations: 4 kB / 0.7922 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2341, allocations: 0 / 0.7922 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.2343, allocations: 297.5 kB / 0.7925 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2343, allocations: 0 / 0.7925 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.248e-05/0.2344, allocations: 4.25 kB / 0.7925 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.2344, allocations: 0 / 0.7925 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.2344, allocations: 8 kB / 0.7925 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.2344, allocations: 3.938 kB / 0.7925 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2344, allocations: 0 / 0.7925 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.2346, allocations: 148.5 kB / 0.7927 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.67e-05/0.2347, allocations: 116.6 kB / 0.7928 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.2348, allocations: 4 kB / 0.7928 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.081e-05/0.2349, allocations: 7.938 kB / 0.7928 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.2349, allocations: 15.92 kB / 0.7928 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.2349, allocations: 7.984 kB / 0.7928 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003455/0.2353, allocations: 362.8 kB / 0.7931 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2353, allocations: 0 / 0.7931 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002583/0.2355, allocations: 39.91 kB / 0.7932 GB, free: 3.598 MB / 0.6075 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.0009197/0.2365, allocations: 433.9 kB / 0.7936 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002475/0.2367, allocations: 91.91 kB / 0.7937 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2367, allocations: 0 / 0.7937 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.605e-05/0.2368, allocations: 31.97 kB / 0.7937 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.2372, allocations: 56.78 kB / 0.7938 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009943/0.2382, allocations: 0.7668 MB / 0.7945 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.2386, allocations: 0.8138 MB / 0.7953 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.322e-05/0.2386, allocations: 15.44 kB / 0.7953 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of SimCode: time 6.01e-07/0.2387, allocations: 4 kB / 0.7953 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of Templates: time 0.006115/0.2448, allocations: 4.117 MB / 0.7994 GB, free: 13.41 MB / 0.6231 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)