Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008139/0.0008138, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005461/0.005461, allocations: 169 kB / 16.26 MB, free: 6.652 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.468/1.468, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.797/1.797, allocations: 292.7 MB / 0.5502 GB, free: 14.51 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.0006507/0.000651, allocations: 11.16 kB / 0.6743 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2364, allocations: 116.3 MB / 0.7879 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004756/0.2412, allocations: 3.416 MB / 0.7912 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001813/0.2414, allocations: 147.6 kB / 0.7913 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.519e-05/0.2414, allocations: 0 / 0.7913 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.813e-05/0.2415, allocations: 7.922 kB / 0.7913 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.215e-05/0.2416, allocations: 0 / 0.7913 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.2419, allocations: 75.14 kB / 0.7914 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.083e-05/0.242, allocations: 59.81 kB / 0.7915 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.863e-05/0.242, allocations: 4 kB / 0.7915 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.625e-05/0.2421, allocations: 15.92 kB / 0.7915 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.106e-05/0.2421, allocations: 11.98 kB / 0.7915 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.2421, allocations: 4 kB / 0.7915 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005139/0.2427, allocations: 195.5 kB / 0.7917 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.2427, allocations: 4 kB / 0.7917 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.2427, allocations: 41.64 kB / 0.7917 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.2429, allocations: 44.11 kB / 0.7918 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2429, allocations: 4 kB / 0.7918 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.983e-06/0.2429, allocations: 0 / 0.7918 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.2429, allocations: 3.938 kB / 0.7918 GB, free: 7.566 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003391/0.2432, allocations: 323.5 kB / 0.7921 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.2433, allocations: 12.03 kB / 0.7921 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.2433, allocations: 4.922 kB / 0.7921 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.2434, allocations: 172.3 kB / 0.7923 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.995e-05/0.2435, allocations: 30.27 kB / 0.7923 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.054e-06/0.2435, allocations: 384 / 0.7923 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.2437, allocations: 49.61 kB / 0.7924 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.2437, allocations: 4 kB / 0.7924 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.2437, allocations: 0 / 0.7924 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.2437, allocations: 3.984 kB / 0.7924 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.189e-05/0.2438, allocations: 12 kB / 0.7924 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.2442, allocations: 342 kB / 0.7927 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.503e-05/0.2442, allocations: 18.58 kB / 0.7927 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/0.2443, allocations: 4.859 kB / 0.7927 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.149e-05/0.2443, allocations: 85.16 kB / 0.7928 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.2444, allocations: 30.56 kB / 0.7928 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.2444, allocations: 0 / 0.7928 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001569/0.2445, allocations: 49.55 kB / 0.7929 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.2446, allocations: 51.41 kB / 0.7929 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.408e-05/0.2447, allocations: 101.8 kB / 0.793 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.2447, allocations: 25.7 kB / 0.793 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.2447, allocations: 92.03 kB / 0.7931 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.468e-06/0.2447, allocations: 0 / 0.7931 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.2448, allocations: 17.7 kB / 0.7932 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.923e-05/0.2449, allocations: 314.8 kB / 0.7935 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/0.2449, allocations: 8.125 kB / 0.7935 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.089e-05/0.2449, allocations: 13.72 kB / 0.7935 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/0.245, allocations: 29.64 kB / 0.7935 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.245, allocations: 0 / 0.7935 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.502e-05/0.245, allocations: 37.7 kB / 0.7935 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.2451, allocations: 15.92 kB / 0.7936 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.2451, allocations: 4.062 kB / 0.7936 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.2451, allocations: 0 / 0.7936 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.263e-05/0.2451, allocations: 8 kB / 0.7936 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2452, allocations: 3.938 kB / 0.7936 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.805e-05/0.2452, allocations: 4 kB / 0.7936 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.2452, allocations: 0 / 0.7936 GB, free: 5.461 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: 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.319e-05/0.2453, allocations: 114.7 kB / 0.7937 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.2453, allocations: 3.906 kB / 0.7937 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.2454, allocations: 125 kB / 0.7938 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.925e-05/0.2455, allocations: 180.2 kB / 0.794 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.567e-05/0.2455, allocations: 180.2 kB / 0.7941 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.642e-05/0.2456, allocations: 180.3 kB / 0.7943 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.2458, allocations: 409.1 kB / 0.7947 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-05/0.2459, allocations: 113 kB / 0.7948 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.353e-05/0.2459, allocations: 108.9 kB / 0.7949 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-05/0.246, allocations: 176.3 kB / 0.7951 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.033e-05/0.246, allocations: 176.3 kB / 0.7953 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.529e-05/0.2461, allocations: 184.2 kB / 0.7954 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.221e-05/0.2462, allocations: 180.3 kB / 0.7956 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.2463, allocations: 315.7 kB / 0.7959 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.685e-05/0.2464, allocations: 186 kB / 0.7961 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.175e-05/0.2464, allocations: 184.2 kB / 0.7963 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.2466, allocations: 105 kB / 0.7964 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/0.2467, allocations: 184.5 kB / 0.7965 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.479e-05/0.2467, allocations: 105 kB / 0.7966 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.02e-05/0.2468, allocations: 83.28 kB / 0.7967 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2468, allocations: 0 / 0.7967 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002366/0.247, allocations: 19.94 kB / 0.7967 GB, free: 1.996 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: 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.0002198/0.2472, allocations: 202.4 kB / 0.7969 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.752e-05/0.2473, allocations: 11.94 kB / 0.7969 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2473, allocations: 0 / 0.7969 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.765e-06/0.2473, allocations: 4 kB / 0.7969 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.2477, allocations: 0.5224 MB / 0.7975 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002201/0.2479, allocations: 203.8 kB / 0.7976 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.2482, allocations: 0.6731 MB / 0.7983 GB, free: 328 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.817e-05/0.2482, allocations: 7.984 kB / 0.7983 GB, free: 320 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.528e-05/0.2482, allocations: 7.438 kB / 0.7983 GB, free: 312 kB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.2482, allocations: 0 / 0.7983 GB, free: 312 kB / 0.6075 GB Notification: Performance of Templates: time 0.002534/0.2508, allocations: 0.5803 MB / 0.7989 GB, free: 15.73 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: