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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.876/1.876, allocations: 292.3 MB / 308.1 MB, free: 4.254 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.0018/0.0018, allocations: 184.2 kB / 376.9 MB, free: 1.809 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.822/1.822, allocations: 205.1 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001156, allocations: 103.3 kB / 0.748 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 55.91 kB / 0.8703 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3152, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00668/0.322, allocations: 3.781 MB / 0.9859 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002412/0.3223, allocations: 159.4 kB / 0.986 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.303e-05/0.3223, allocations: 0 / 0.986 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.3225, allocations: 7.938 kB / 0.9861 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.3226, allocations: 23.91 kB / 0.9861 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.323, allocations: 55.84 kB / 0.9861 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.3232, allocations: 55.81 kB / 0.9862 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.755e-05/0.3232, allocations: 0 / 0.9862 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.698e-05/0.3233, allocations: 15.98 kB / 0.9862 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.3234, allocations: 15.92 kB / 0.9862 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.3234, allocations: 0 / 0.9862 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008902/0.3243, allocations: 199.4 kB / 0.9864 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.3244, allocations: 11.97 kB / 0.9864 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.3244, allocations: 11.94 kB / 0.9864 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.3246, allocations: 48.17 kB / 0.9865 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.3247, allocations: 0 / 0.9865 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3247, allocations: 3.938 kB / 0.9865 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.3247, allocations: 0 / 0.9865 GB, free: 5.984 MB / 0.7136 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.0004951/0.3252, allocations: 327.6 kB / 0.9868 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.3252, allocations: 12.03 kB / 0.9868 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.3253, allocations: 4.938 kB / 0.9868 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.3255, allocations: 168.3 kB / 0.987 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.848e-05/0.3255, allocations: 26.27 kB / 0.987 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.3256, allocations: 4.375 kB / 0.987 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.3257, allocations: 45.62 kB / 0.987 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3258, allocations: 0 / 0.987 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.3258, allocations: 3.984 kB / 0.987 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.3258, allocations: 0 / 0.987 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.231e-05/0.3259, allocations: 23.92 kB / 0.9871 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005162/0.3264, allocations: 341.9 kB / 0.9874 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.411e-05/0.3265, allocations: 14.58 kB / 0.9874 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.3265, allocations: 8.859 kB / 0.9874 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.3266, allocations: 89.16 kB / 0.9875 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.3266, allocations: 34.56 kB / 0.9875 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3266, allocations: 0 / 0.9875 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001619/0.3268, allocations: 33.64 kB / 0.9876 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.3269, allocations: 55.41 kB / 0.9876 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.915e-05/0.327, allocations: 101.8 kB / 0.9877 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.327, allocations: 25.7 kB / 0.9877 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.327, allocations: 88.05 kB / 0.9878 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.488e-06/0.3271, allocations: 4 kB / 0.9878 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.3271, allocations: 17.84 kB / 0.9878 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3273, allocations: 318.8 kB / 0.9881 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.507e-05/0.3273, allocations: 11.94 kB / 0.9882 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.211e-05/0.3273, allocations: 13.72 kB / 0.9882 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.715e-05/0.3274, allocations: 25.64 kB / 0.9882 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3274, allocations: 0 / 0.9882 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.74e-05/0.3275, allocations: 49.61 kB / 0.9882 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.3275, allocations: 7.984 kB / 0.9883 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3276, allocations: 0 / 0.9883 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.3276, allocations: 0 / 0.9883 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.564e-05/0.3277, allocations: 7.938 kB / 0.9883 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3277, allocations: 4 kB / 0.9883 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.659e-05/0.3277, allocations: 4 kB / 0.9883 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.3277, allocations: 0 / 0.9883 GB, free: 3.875 MB / 0.7136 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 0.0001144/0.3279, allocations: 117.8 kB / 0.9884 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.3279, allocations: 0 / 0.9884 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.3281, allocations: 121 kB / 0.9885 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.986e-05/0.3281, allocations: 180.2 kB / 0.9887 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.869e-05/0.3282, allocations: 180.3 kB / 0.9888 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-05/0.3283, allocations: 180.2 kB / 0.989 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.3287, allocations: 413.2 kB / 0.9894 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.113e-05/0.3287, allocations: 109 kB / 0.9895 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.529e-05/0.3288, allocations: 104.9 kB / 0.9896 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-05/0.3289, allocations: 176.3 kB / 0.9898 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.306e-05/0.3289, allocations: 188.1 kB / 0.99 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.256e-05/0.329, allocations: 184.3 kB / 0.9901 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.954e-05/0.3291, allocations: 184.2 kB / 0.9903 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004159/0.3295, allocations: 0.8453 MB / 0.9911 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.068e-05/0.3296, allocations: 182.1 kB / 0.9913 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.522e-05/0.3297, allocations: 184.2 kB / 0.9915 GB, free: 352 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.3299, allocations: 112.9 kB / 0.9916 GB, free: 232 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.3299, allocations: 184.2 kB / 0.9918 GB, free: 40 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.385e-05/0.33, allocations: 101 kB / 0.9919 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.682e-05/0.3301, allocations: 83.27 kB / 0.9919 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3301, allocations: 4 kB / 0.9919 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004024/0.3305, allocations: 15.94 kB / 0.992 GB, free: 15.83 MB / 0.7292 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.000334/0.3308, allocations: 206.5 kB / 0.9922 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.186e-05/0.3309, allocations: 15.92 kB / 0.9922 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3309, allocations: 0 / 0.9922 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.3309, allocations: 0 / 0.9922 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.3314, allocations: 0.5281 MB / 0.9927 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.3318, allocations: 179.6 kB / 0.9929 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.3321, allocations: 0.6809 MB / 0.9935 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.901e-05/0.3322, allocations: 8.281 kB / 0.9935 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.3322, allocations: 11.44 kB / 0.9935 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of SimCode: time 7.01e-07/0.3322, allocations: 0 / 0.9935 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of Templates: time 0.002947/0.3352, allocations: 0.5843 MB / 0.9941 GB, free: 13.57 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (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)