Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 115.6 kB / 16.37 MB, free: 6.012 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.001177/0.001177, allocations: 191.6 kB / 17.31 MB, free: 5.613 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8075/0.8075, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 67.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.331, allocations: 80.19 MB / 0.5815 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004829/0.3359, allocations: 3.721 MB / 0.5851 GB, free: 24.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001637/0.336, allocations: 159.7 kB / 0.5853 GB, free: 24.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.717e-05/0.3361, allocations: 0.6562 kB / 0.5853 GB, free: 24.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.374e-05/0.3362, allocations: 3.938 kB / 0.5853 GB, free: 24.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.577e-05/0.3363, allocations: 11.7 kB / 0.5853 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.3366, allocations: 82.38 kB / 0.5854 GB, free: 24.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.049e-05/0.3367, allocations: 33.66 kB / 0.5854 GB, free: 24.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.595e-05/0.3368, allocations: 4 kB / 0.5854 GB, free: 24.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.723e-05/0.3368, allocations: 24.28 kB / 0.5854 GB, free: 24.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.532e-05/0.3369, allocations: 14.2 kB / 0.5854 GB, free: 24.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.3369, allocations: 2.188 kB / 0.5854 GB, free: 24.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005676/0.3375, allocations: 180.1 kB / 0.5856 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.973e-05/0.3375, allocations: 10.17 kB / 0.5856 GB, free: 24.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.3376, allocations: 10.38 kB / 0.5856 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.3377, allocations: 44.28 kB / 0.5857 GB, free: 24.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3377, allocations: 0.5938 kB / 0.5857 GB, free: 24.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3377, allocations: 0 / 0.5857 GB, free: 24.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.3377, allocations: 1.719 kB / 0.5857 GB, free: 24.23 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.0003314/0.3381, allocations: 333.2 kB / 0.586 GB, free: 23.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.3381, allocations: 10.09 kB / 0.586 GB, free: 23.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.3382, allocations: 4.188 kB / 0.586 GB, free: 23.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.698e-05/0.3382, allocations: 168.3 kB / 0.5862 GB, free: 23.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.605e-05/0.3383, allocations: 28.52 kB / 0.5862 GB, free: 23.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.685e-06/0.3383, allocations: 2.344 kB / 0.5862 GB, free: 23.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.3384, allocations: 47.47 kB / 0.5862 GB, free: 23.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.3385, allocations: 0.7188 kB / 0.5862 GB, free: 23.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3385, allocations: 1.219 kB / 0.5862 GB, free: 23.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.3385, allocations: 8.062 kB / 0.5863 GB, free: 23.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.39e-05/0.3385, allocations: 16.86 kB / 0.5863 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.3389, allocations: 336.9 kB / 0.5866 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.269e-05/0.339, allocations: 25.33 kB / 0.5866 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.437e-05/0.339, allocations: 7.266 kB / 0.5866 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.627e-05/0.339, allocations: 85.16 kB / 0.5867 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.3391, allocations: 33.09 kB / 0.5867 GB, free: 23.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/0.3391, allocations: 0 / 0.5867 GB, free: 23.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001462/0.3392, allocations: 34.14 kB / 0.5868 GB, free: 23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.3393, allocations: 56.62 kB / 0.5868 GB, free: 22.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.037e-05/0.3393, allocations: 103.2 kB / 0.5869 GB, free: 22.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.3394, allocations: 30.67 kB / 0.5869 GB, free: 22.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.3394, allocations: 90.22 kB / 0.587 GB, free: 22.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.56e-06/0.3394, allocations: 7.938 kB / 0.587 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.3395, allocations: 20.27 kB / 0.5871 GB, free: 22.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.179e-05/0.3395, allocations: 316.7 kB / 0.5874 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.54e-05/0.3395, allocations: 5.25 kB / 0.5874 GB, free: 22.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.177e-05/0.3396, allocations: 18.89 kB / 0.5874 GB, free: 22.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.243e-05/0.3396, allocations: 20.34 kB / 0.5874 GB, free: 22.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3396, allocations: 3.344 kB / 0.5874 GB, free: 22.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.577e-05/0.3397, allocations: 49.94 kB / 0.5875 GB, free: 22.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3397, allocations: 5.625 kB / 0.5875 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3397, allocations: 0 / 0.5875 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3397, allocations: 2.719 kB / 0.5875 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.392e-05/0.3398, allocations: 4.562 kB / 0.5875 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3398, allocations: 1.469 kB / 0.5875 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.058e-05/0.3398, allocations: 6.031 kB / 0.5875 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.3398, allocations: 1.719 kB / 0.5875 GB, free: 22.27 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.739e-05/0.3399, allocations: 120.6 kB / 0.5876 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.3399, allocations: 5.266 kB / 0.5876 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.745e-05/0.34, allocations: 118.9 kB / 0.5877 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/0.34, allocations: 180.2 kB / 0.5879 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.04e-05/0.3401, allocations: 182.4 kB / 0.5881 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.779e-05/0.3401, allocations: 183.4 kB / 0.5882 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.3402, allocations: 412.2 kB / 0.5886 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/0.3403, allocations: 105 kB / 0.5887 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.592e-05/0.3403, allocations: 107.2 kB / 0.5888 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.583e-05/0.3403, allocations: 182.6 kB / 0.589 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.3404, allocations: 178.9 kB / 0.5892 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-05/0.3404, allocations: 184.2 kB / 0.5893 GB, free: 20.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.9e-05/0.3404, allocations: 183.3 kB / 0.5895 GB, free: 20.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.355e-05/0.3405, allocations: 305.5 kB / 0.5898 GB, free: 19.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.3405, allocations: 190.8 kB / 0.59 GB, free: 19.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.3406, allocations: 185.4 kB / 0.5902 GB, free: 19.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.3407, allocations: 108 kB / 0.5903 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.3408, allocations: 185.2 kB / 0.5905 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.3408, allocations: 101 kB / 0.5905 GB, free: 18.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.229e-05/0.3408, allocations: 85.75 kB / 0.5906 GB, free: 18.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3408, allocations: 0 / 0.5906 GB, free: 18.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.3411, allocations: 15.91 kB / 0.5906 GB, free: 18.86 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.0002072/0.3413, allocations: 202.9 kB / 0.5908 GB, free: 18.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.005e-05/0.3414, allocations: 14.39 kB / 0.5909 GB, free: 18.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3414, allocations: 1.156 kB / 0.5909 GB, free: 18.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.3414, allocations: 3.938 kB / 0.5909 GB, free: 18.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.3417, allocations: 461.8 kB / 0.5913 GB, free: 18.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002234/0.3419, allocations: 182.8 kB / 0.5915 GB, free: 18.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.3421, allocations: 0.6717 MB / 0.5921 GB, free: 17.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.972e-05/0.3421, allocations: 9.547 kB / 0.5921 GB, free: 17.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.546e-05/0.3421, allocations: 13.38 kB / 0.5922 GB, free: 17.33 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3421, allocations: 1.531 kB / 0.5922 GB, free: 17.33 MB / 446.1 MB Notification: Performance of Templates: time 0.002806/0.3449, allocations: 0.6376 MB / 0.5928 GB, free: 17.04 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)