Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 113.4 kB / 17.04 MB, free: 6.07 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.001571/0.001571, allocations: 195 kB / 17.98 MB, free: 5.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 241.7 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6989/0.6989, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 68.12 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3108, allocations: 76.15 MB / 0.5576 GB, free: 36.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.0045/0.3153, allocations: 3.706 MB / 0.5612 GB, free: 34.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001572/0.3155, allocations: 160.9 kB / 0.5613 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.942e-05/0.3155, allocations: 5.125 kB / 0.5613 GB, free: 34.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.588e-05/0.3156, allocations: 5.203 kB / 0.5613 GB, free: 34.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.631e-05/0.3157, allocations: 13.88 kB / 0.5614 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.316, allocations: 78.41 kB / 0.5614 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.875e-05/0.3161, allocations: 38.42 kB / 0.5615 GB, free: 34.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.759e-05/0.3161, allocations: 2.5 kB / 0.5615 GB, free: 34.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.393e-05/0.3161, allocations: 15.14 kB / 0.5615 GB, free: 34.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.103e-05/0.3162, allocations: 15.56 kB / 0.5615 GB, free: 34.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.3162, allocations: 0 / 0.5615 GB, free: 34.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004791/0.3167, allocations: 189.2 kB / 0.5617 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.982e-05/0.3168, allocations: 5.797 kB / 0.5617 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.3168, allocations: 10.44 kB / 0.5617 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.3169, allocations: 39.77 kB / 0.5617 GB, free: 34.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3169, allocations: 5.031 kB / 0.5617 GB, free: 34.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3169, allocations: 0 / 0.5617 GB, free: 34.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.317, allocations: 1.25 kB / 0.5617 GB, free: 34.04 MB / 446.1 MB 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.0003005/0.3173, allocations: 337.7 kB / 0.5621 GB, free: 33.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.3173, allocations: 14.22 kB / 0.5621 GB, free: 33.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.3173, allocations: 3.438 kB / 0.5621 GB, free: 33.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.845e-05/0.3174, allocations: 166.6 kB / 0.5622 GB, free: 33.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.809e-05/0.3175, allocations: 29.22 kB / 0.5623 GB, free: 33.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.3175, allocations: 1.938 kB / 0.5623 GB, free: 33.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.3176, allocations: 43.19 kB / 0.5623 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.3176, allocations: 2.594 kB / 0.5623 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.3176, allocations: 5.969 kB / 0.5623 GB, free: 33.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.3177, allocations: 2.234 kB / 0.5623 GB, free: 33.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.701e-05/0.3177, allocations: 20.66 kB / 0.5623 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.3181, allocations: 333.8 kB / 0.5627 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.808e-05/0.3181, allocations: 18.36 kB / 0.5627 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.201e-05/0.3181, allocations: 6.922 kB / 0.5627 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.157e-05/0.3182, allocations: 89.33 kB / 0.5628 GB, free: 32.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.3182, allocations: 32.92 kB / 0.5628 GB, free: 32.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.3182, allocations: 1.156 kB / 0.5628 GB, free: 32.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001161/0.3183, allocations: 40.16 kB / 0.5628 GB, free: 32.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.3184, allocations: 57.38 kB / 0.5629 GB, free: 32.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.904e-05/0.3184, allocations: 103.2 kB / 0.563 GB, free: 32.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.3184, allocations: 27.45 kB / 0.563 GB, free: 32.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.47e-05/0.3185, allocations: 87.55 kB / 0.5631 GB, free: 32.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.17e-06/0.3185, allocations: 7.844 kB / 0.5631 GB, free: 32.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.3185, allocations: 19.25 kB / 0.5631 GB, free: 32.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.799e-05/0.3186, allocations: 319 kB / 0.5634 GB, free: 32.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.3186, allocations: 1.953 kB / 0.5634 GB, free: 32.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.861e-05/0.3186, allocations: 17.98 kB / 0.5634 GB, free: 32.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.824e-05/0.3186, allocations: 24.92 kB / 0.5635 GB, free: 32.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3186, allocations: 1.125 kB / 0.5635 GB, free: 32.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.355e-05/0.3187, allocations: 46.38 kB / 0.5635 GB, free: 32.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.3187, allocations: 6.156 kB / 0.5635 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3187, allocations: 2.594 kB / 0.5635 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.3187, allocations: 4.688 kB / 0.5635 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.906e-05/0.3188, allocations: 6.547 kB / 0.5635 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3188, allocations: 2.109 kB / 0.5635 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.3188, allocations: 1.219 kB / 0.5635 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.3188, allocations: 2 kB / 0.5635 GB, free: 32.11 MB / 446.1 MB 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 4.356e-05/0.3189, allocations: 117.2 kB / 0.5637 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.3189, allocations: 3.312 kB / 0.5637 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.288e-05/0.319, allocations: 119 kB / 0.5638 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/0.319, allocations: 183.4 kB / 0.5639 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-05/0.3191, allocations: 178.3 kB / 0.5641 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.24e-05/0.3191, allocations: 190.4 kB / 0.5643 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.3192, allocations: 408.9 kB / 0.5647 GB, free: 30.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/0.3192, allocations: 107.3 kB / 0.5648 GB, free: 30.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.458e-05/0.3193, allocations: 111.5 kB / 0.5649 GB, free: 30.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.33e-05/0.3193, allocations: 179.9 kB / 0.5651 GB, free: 30.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.3193, allocations: 183.4 kB / 0.5652 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.159e-05/0.3193, allocations: 176.9 kB / 0.5654 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.299e-05/0.3194, allocations: 183.1 kB / 0.5656 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.369e-05/0.3194, allocations: 310.1 kB / 0.5659 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.844e-05/0.3195, allocations: 183.9 kB / 0.5661 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.3195, allocations: 179.9 kB / 0.5662 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.3196, allocations: 113.6 kB / 0.5663 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.342e-05/0.3197, allocations: 186.3 kB / 0.5665 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.3197, allocations: 103.2 kB / 0.5666 GB, free: 28.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.895e-05/0.3197, allocations: 83.73 kB / 0.5667 GB, free: 28.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3197, allocations: 0 / 0.5667 GB, free: 28.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.32, allocations: 17.59 kB / 0.5667 GB, free: 28.74 MB / 446.1 MB 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.0001729/0.3201, allocations: 209.2 kB / 0.5669 GB, free: 28.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.985e-05/0.3202, allocations: 8.156 kB / 0.5669 GB, free: 28.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3202, allocations: 0 / 0.5669 GB, free: 28.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.3202, allocations: 1.938 kB / 0.5669 GB, free: 28.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.3205, allocations: 459.9 kB / 0.5674 GB, free: 28.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001789/0.3207, allocations: 189.8 kB / 0.5675 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.922e-05/0.3208, allocations: 0.6746 MB / 0.5682 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.569e-05/0.3208, allocations: 9.578 kB / 0.5682 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.318e-05/0.3209, allocations: 10.41 kB / 0.5682 GB, free: 27.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3209, allocations: 0 / 0.5682 GB, free: 27.23 MB / 446.1 MB Notification: Performance of Templates: time 0.002617/0.3235, allocations: 0.6345 MB / 0.5688 GB, free: 27.19 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)