Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001253/0.001253, allocations: 104.3 kB / 16.27 MB, free: 6.414 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.001322/0.001322, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.359/1.359, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8444/0.8444, allocations: 135.2 MB / 426.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.89 kB / 0.506 GB, free: 8.344 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.331, allocations: 80.92 MB / 0.5851 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004803/0.3358, allocations: 3.714 MB / 0.5887 GB, free: 22.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001612/0.336, allocations: 154.9 kB / 0.5888 GB, free: 22.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.227e-05/0.3361, allocations: 1.562 kB / 0.5888 GB, free: 22.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.491e-05/0.3362, allocations: 1.406 kB / 0.5888 GB, free: 22.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.144e-05/0.3363, allocations: 14.77 kB / 0.5888 GB, free: 22.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.3366, allocations: 87.47 kB / 0.5889 GB, free: 22.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.931e-05/0.3367, allocations: 32.75 kB / 0.589 GB, free: 22.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.176e-05/0.3367, allocations: 3.375 kB / 0.589 GB, free: 22.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.787e-05/0.3368, allocations: 21.62 kB / 0.589 GB, free: 22.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.891e-05/0.3368, allocations: 10.66 kB / 0.589 GB, free: 22.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.3369, allocations: 0.5312 kB / 0.589 GB, free: 22.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005188/0.3374, allocations: 197 kB / 0.5892 GB, free: 22.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.836e-05/0.3374, allocations: 4 kB / 0.5892 GB, free: 22.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.3375, allocations: 11.86 kB / 0.5892 GB, free: 22.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.3376, allocations: 37.47 kB / 0.5892 GB, free: 22.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3376, allocations: 5.938 kB / 0.5892 GB, free: 22.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3376, allocations: 0 / 0.5892 GB, free: 22.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.3376, allocations: 0 / 0.5892 GB, free: 22.12 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.0003269/0.3379, allocations: 332.8 kB / 0.5896 GB, free: 21.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.338, allocations: 12.11 kB / 0.5896 GB, free: 21.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.338, allocations: 6.031 kB / 0.5896 GB, free: 21.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.52e-05/0.3381, allocations: 161.7 kB / 0.5897 GB, free: 21.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.794e-05/0.3382, allocations: 36.19 kB / 0.5898 GB, free: 21.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-06/0.3382, allocations: 5.25 kB / 0.5898 GB, free: 21.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.3383, allocations: 42.62 kB / 0.5898 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.3383, allocations: 0 / 0.5898 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3383, allocations: 1.438 kB / 0.5898 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.3384, allocations: 0 / 0.5898 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.184e-05/0.3384, allocations: 21.66 kB / 0.5898 GB, free: 21.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.3388, allocations: 338.2 kB / 0.5902 GB, free: 21.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.028e-05/0.3388, allocations: 21.67 kB / 0.5902 GB, free: 21.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.239e-05/0.3388, allocations: 7.891 kB / 0.5902 GB, free: 21.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.269e-05/0.3389, allocations: 86.38 kB / 0.5903 GB, free: 20.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.3389, allocations: 41.53 kB / 0.5903 GB, free: 20.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.3389, allocations: 0 / 0.5903 GB, free: 20.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000128/0.3391, allocations: 31.17 kB / 0.5903 GB, free: 20.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.3391, allocations: 59.66 kB / 0.5904 GB, free: 20.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.418e-05/0.3391, allocations: 107.4 kB / 0.5905 GB, free: 20.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.3392, allocations: 25.7 kB / 0.5905 GB, free: 20.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.3392, allocations: 93.16 kB / 0.5906 GB, free: 20.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.671e-06/0.3392, allocations: 5.219 kB / 0.5906 GB, free: 20.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.3392, allocations: 23.45 kB / 0.5906 GB, free: 20.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.952e-05/0.3393, allocations: 316 kB / 0.5909 GB, free: 20.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.332e-05/0.3393, allocations: 1.469 kB / 0.5909 GB, free: 20.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.008e-05/0.3393, allocations: 19.41 kB / 0.591 GB, free: 20.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.036e-05/0.3394, allocations: 20.8 kB / 0.591 GB, free: 20.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.3394, allocations: 1 kB / 0.591 GB, free: 20.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.366e-05/0.3394, allocations: 46.45 kB / 0.591 GB, free: 20.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.3395, allocations: 11.64 kB / 0.591 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3395, allocations: 1.375 kB / 0.591 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3395, allocations: 0 / 0.591 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.298e-05/0.3395, allocations: 5.062 kB / 0.591 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3395, allocations: 1.281 kB / 0.591 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.3396, allocations: 5.375 kB / 0.591 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.3396, allocations: 2.125 kB / 0.591 GB, free: 20.15 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.92e-05/0.3396, allocations: 120 kB / 0.5912 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.3397, allocations: 1.5 kB / 0.5912 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.381e-05/0.3397, allocations: 118.5 kB / 0.5913 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/0.3398, allocations: 177.7 kB / 0.5914 GB, free: 19.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-05/0.3398, allocations: 185.7 kB / 0.5916 GB, free: 19.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.279e-05/0.3398, allocations: 181.5 kB / 0.5918 GB, free: 19.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.34, allocations: 409.6 kB / 0.5922 GB, free: 18.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.34, allocations: 110.2 kB / 0.5923 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.465e-05/0.34, allocations: 107.5 kB / 0.5924 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.187e-05/0.34, allocations: 181.6 kB / 0.5926 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.3401, allocations: 177.7 kB / 0.5927 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.418e-05/0.3401, allocations: 181.9 kB / 0.5929 GB, free: 18.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-05/0.3401, allocations: 182.5 kB / 0.5931 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.273e-05/0.3402, allocations: 311.2 kB / 0.5934 GB, free: 17.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.3402, allocations: 179.7 kB / 0.5935 GB, free: 17.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.3403, allocations: 185.1 kB / 0.5937 GB, free: 17.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.3404, allocations: 103.7 kB / 0.5938 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.3404, allocations: 186.6 kB / 0.594 GB, free: 16.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.3404, allocations: 102.5 kB / 0.5941 GB, free: 16.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.172e-05/0.3405, allocations: 91.64 kB / 0.5942 GB, free: 16.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3405, allocations: 3.938 kB / 0.5942 GB, free: 16.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.3407, allocations: 15.84 kB / 0.5942 GB, free: 16.75 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.0001999/0.3409, allocations: 207 kB / 0.5944 GB, free: 16.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.889e-05/0.341, allocations: 12.53 kB / 0.5944 GB, free: 16.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.341, allocations: 0.5625 kB / 0.5944 GB, free: 16.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.341, allocations: 4 kB / 0.5944 GB, free: 16.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.3413, allocations: 466.1 kB / 0.5949 GB, free: 16.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000202/0.3415, allocations: 209.1 kB / 0.5951 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.246e-05/0.3416, allocations: 0.6781 MB / 0.5957 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.715e-05/0.3416, allocations: 11.44 kB / 0.5957 GB, free: 15.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3417, allocations: 0 / 0.5957 GB, free: 15.12 MB / 446.1 MB Notification: Performance of Templates: time 0.002189/0.3438, allocations: 0.7599 MB / 0.5965 GB, free: 14.41 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)