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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.478/1.478, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001002/0.001002, allocations: 183.8 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.873/1.873, allocations: 205 MB / 0.5766 GB, free: 21.04 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.0008404/0.0008404, allocations: 97.28 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003435, allocations: 11.75 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2241, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004638/0.2288, allocations: 3.471 MB / 0.9001 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000175/0.229, allocations: 147.5 kB / 0.9003 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.993e-05/0.229, allocations: 0 / 0.9003 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.2292, allocations: 7.984 kB / 0.9003 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.335e-05/0.2293, allocations: 11.92 kB / 0.9003 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.2296, allocations: 71.77 kB / 0.9003 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.396e-05/0.2297, allocations: 51.83 kB / 0.9004 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.468e-05/0.2297, allocations: 12 kB / 0.9004 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.153e-05/0.2298, allocations: 11.98 kB / 0.9004 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.053e-05/0.2299, allocations: 11.92 kB / 0.9004 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.2299, allocations: 0 / 0.9004 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005807/0.2305, allocations: 199.7 kB / 0.9006 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.113e-05/0.2305, allocations: 8 kB / 0.9006 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.2306, allocations: 11.98 kB / 0.9006 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.992e-05/0.2307, allocations: 31.91 kB / 0.9007 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2307, allocations: 0 / 0.9007 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2307, allocations: 0 / 0.9007 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.2307, allocations: 4 kB / 0.9007 GB, free: 64.15 MB / 0.6042 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.0003279/0.231, allocations: 323.5 kB / 0.901 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.2311, allocations: 8.031 kB / 0.901 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.2311, allocations: 4.938 kB / 0.901 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.858e-05/0.2312, allocations: 164.3 kB / 0.9011 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.802e-05/0.2313, allocations: 34.25 kB / 0.9012 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.2313, allocations: 8.312 kB / 0.9012 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.2315, allocations: 49.56 kB / 0.9012 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.2315, allocations: 0 / 0.9012 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.2315, allocations: 0 / 0.9012 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.2315, allocations: 0 / 0.9012 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.399e-05/0.2316, allocations: 19.98 kB / 0.9013 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/0.232, allocations: 338 kB / 0.9016 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.15e-05/0.2321, allocations: 18.58 kB / 0.9016 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.616e-05/0.2321, allocations: 4.859 kB / 0.9016 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.083e-05/0.2322, allocations: 85.17 kB / 0.9017 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.2322, allocations: 34.5 kB / 0.9017 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.663e-06/0.2322, allocations: 0 / 0.9017 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001747/0.2324, allocations: 41.69 kB / 0.9018 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.2325, allocations: 55.41 kB / 0.9018 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.478e-05/0.2325, allocations: 101.8 kB / 0.9019 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.2326, allocations: 25.7 kB / 0.9019 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.2326, allocations: 88.05 kB / 0.902 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.594e-06/0.2326, allocations: 7.906 kB / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/0.2326, allocations: 9.719 kB / 0.902 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.082e-05/0.2327, allocations: 314.8 kB / 0.9023 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/0.2327, allocations: 16.11 kB / 0.9023 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.185e-05/0.2328, allocations: 17.66 kB / 0.9024 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.101e-05/0.2328, allocations: 17.72 kB / 0.9024 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2328, allocations: 0 / 0.9024 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.305e-05/0.2329, allocations: 57.56 kB / 0.9024 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2329, allocations: 6.5 kB / 0.9024 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2329, allocations: 4.062 kB / 0.9024 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2329, allocations: 0 / 0.9024 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.893e-05/0.233, allocations: 8 kB / 0.9024 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.233, allocations: 0 / 0.9024 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.989e-05/0.233, allocations: 7.922 kB / 0.9025 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.233, allocations: 4 kB / 0.9025 GB, free: 62.04 MB / 0.6042 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 6.346e-05/0.2331, allocations: 109.8 kB / 0.9026 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.2331, allocations: 0 / 0.9026 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.934e-05/0.2333, allocations: 124.9 kB / 0.9027 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.588e-05/0.2333, allocations: 184.3 kB / 0.9029 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.304e-05/0.2333, allocations: 184.2 kB / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-05/0.2334, allocations: 176.3 kB / 0.9032 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.2335, allocations: 409.2 kB / 0.9036 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/0.2336, allocations: 108.9 kB / 0.9037 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.2336, allocations: 101 kB / 0.9038 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.72e-05/0.2336, allocations: 180.2 kB / 0.904 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.2337, allocations: 188.2 kB / 0.9041 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.754e-05/0.2337, allocations: 176.3 kB / 0.9043 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.851e-05/0.2338, allocations: 184.2 kB / 0.9045 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.242e-05/0.2339, allocations: 311.7 kB / 0.9048 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.2339, allocations: 194 kB / 0.905 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/0.234, allocations: 176.3 kB / 0.9051 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.2341, allocations: 112.9 kB / 0.9052 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.2342, allocations: 180.3 kB / 0.9054 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.2342, allocations: 104.9 kB / 0.9055 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.2342, allocations: 91.28 kB / 0.9056 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2342, allocations: 0 / 0.9056 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002532/0.2345, allocations: 19.98 kB / 0.9056 GB, free: 58.57 MB / 0.6042 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.0002322/0.2347, allocations: 198.4 kB / 0.9058 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.069e-05/0.2348, allocations: 11.98 kB / 0.9058 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2348, allocations: 0 / 0.9058 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-06/0.2348, allocations: 0 / 0.9058 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.2351, allocations: 0.5301 MB / 0.9063 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002377/0.2354, allocations: 213.5 kB / 0.9065 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.2355, allocations: 0.6692 MB / 0.9072 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.983e-05/0.2355, allocations: 15.42 kB / 0.9072 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of SimCode: time 2.7e-07/0.2355, allocations: 0 / 0.9072 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.001926/0.2375, allocations: 0.7144 MB / 0.9079 GB, free: 56.16 MB / 0.6042 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)