Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006585/0.006585, allocations: 103.8 kB / 15.73 MB, free: 6.051 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.001371/0.001372, allocations: 196.2 kB / 16.68 MB, free: 5.961 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.477/1.477, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.545/1.545, allocations: 251.7 MB / 0.5094 GB, free: 3.016 MB / 414.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.001404/0.001404, allocations: 67.91 kB / 0.7258 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2297, allocations: 104.7 MB / 0.828 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005171/0.2349, allocations: 3.75 MB / 0.8317 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001898/0.2351, allocations: 155.5 kB / 0.8318 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.2351, allocations: 0 / 0.8318 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.2353, allocations: 0 / 0.8318 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.62e-05/0.2354, allocations: 11.92 kB / 0.8318 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.2357, allocations: 75.7 kB / 0.8319 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.064e-05/0.2358, allocations: 27.91 kB / 0.8319 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.2358, allocations: 4 kB / 0.8319 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.206e-05/0.2359, allocations: 23.86 kB / 0.832 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.846e-05/0.2359, allocations: 11.98 kB / 0.832 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.236, allocations: 0 / 0.832 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004974/0.2365, allocations: 187.4 kB / 0.8321 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.473e-05/0.2365, allocations: 15.98 kB / 0.8322 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.2365, allocations: 7.938 kB / 0.8322 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.2367, allocations: 35.95 kB / 0.8322 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2367, allocations: 0 / 0.8322 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2367, allocations: 4 kB / 0.8322 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.2367, allocations: 0 / 0.8322 GB, free: 11.87 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004225/0.2371, allocations: 337.9 kB / 0.8325 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2372, allocations: 8.031 kB / 0.8325 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.2372, allocations: 4.875 kB / 0.8325 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.2373, allocations: 164.4 kB / 0.8327 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.49e-05/0.2374, allocations: 34.19 kB / 0.8327 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-06/0.2374, allocations: 384 / 0.8327 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.2376, allocations: 53.62 kB / 0.8328 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2376, allocations: 0 / 0.8328 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.2376, allocations: 0 / 0.8328 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.2376, allocations: 0 / 0.8328 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.28e-05/0.2377, allocations: 11.98 kB / 0.8328 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.2381, allocations: 337.9 kB / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.988e-05/0.2382, allocations: 26.45 kB / 0.8331 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.601e-05/0.2382, allocations: 8.859 kB / 0.8332 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.159e-05/0.2383, allocations: 85.17 kB / 0.8332 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.2383, allocations: 34.56 kB / 0.8333 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2383, allocations: 0 / 0.8333 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001475/0.2385, allocations: 33.69 kB / 0.8333 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.2385, allocations: 55.34 kB / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.2386, allocations: 110 kB / 0.8335 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.2386, allocations: 29.7 kB / 0.8335 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.2387, allocations: 84.05 kB / 0.8336 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.338e-06/0.2387, allocations: 0 / 0.8336 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.2387, allocations: 17.72 kB / 0.8336 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.2389, allocations: 322.8 kB / 0.8339 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.366e-05/0.2389, allocations: 0 / 0.8339 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.35e-05/0.2389, allocations: 17.72 kB / 0.8339 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.444e-05/0.239, allocations: 21.72 kB / 0.8339 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.239, allocations: 0 / 0.8339 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.168e-05/0.2391, allocations: 53.53 kB / 0.834 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.2391, allocations: 8 kB / 0.834 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2391, allocations: 0 / 0.834 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.2391, allocations: 4 kB / 0.834 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.276e-05/0.2392, allocations: 7.984 kB / 0.834 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2392, allocations: 0 / 0.834 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.106e-05/0.2392, allocations: 12 kB / 0.834 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.2392, allocations: 4 kB / 0.834 GB, free: 9.746 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.342e-05/0.2393, allocations: 117.7 kB / 0.8341 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.2393, allocations: 3.938 kB / 0.8341 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.2394, allocations: 117 kB / 0.8342 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-05/0.2395, allocations: 188.2 kB / 0.8344 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.72e-05/0.2396, allocations: 180.3 kB / 0.8346 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.226e-05/0.2396, allocations: 176.3 kB / 0.8348 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.2399, allocations: 413.1 kB / 0.8352 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.145e-05/0.2399, allocations: 101 kB / 0.8352 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.24, allocations: 112.9 kB / 0.8354 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.941e-05/0.24, allocations: 180.3 kB / 0.8355 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.72e-05/0.2401, allocations: 176.3 kB / 0.8357 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.587e-05/0.2402, allocations: 180.2 kB / 0.8359 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-05/0.2402, allocations: 180.3 kB / 0.836 GB, free: 7.52 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.2404, allocations: 315.7 kB / 0.8363 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-05/0.2405, allocations: 182 kB / 0.8365 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.413e-05/0.2406, allocations: 180.2 kB / 0.8367 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.2407, allocations: 113 kB / 0.8368 GB, free: 6.684 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.2408, allocations: 184.1 kB / 0.837 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.816e-05/0.2408, allocations: 105 kB / 0.8371 GB, free: 6.387 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.624e-05/0.2409, allocations: 91.27 kB / 0.8372 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2409, allocations: 0 / 0.8372 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002407/0.2411, allocations: 16 kB / 0.8372 GB, free: 6.281 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002572/0.2414, allocations: 206.4 kB / 0.8374 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.222e-05/0.2415, allocations: 7.938 kB / 0.8374 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2415, allocations: 0 / 0.8374 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.805e-06/0.2415, allocations: 8.125 kB / 0.8374 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.2419, allocations: 455.7 kB / 0.8378 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.2422, allocations: 185.8 kB / 0.838 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.2424, allocations: 0.6768 MB / 0.8387 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.581e-05/0.2425, allocations: 10 kB / 0.8387 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.548e-05/0.2425, allocations: 7.438 kB / 0.8387 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of SimCode: time 3.326e-06/0.2425, allocations: 0 / 0.8387 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of Templates: time 0.002525/0.245, allocations: 0.6057 MB / 0.8393 GB, free: 4.086 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)