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.001321/0.001321, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.001373/0.001373, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7725/0.7725, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 59.91 kB / 0.5067 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3339, allocations: 80.91 MB / 0.5857 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004516/0.3385, allocations: 3.718 MB / 0.5894 GB, free: 22.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001595/0.3386, allocations: 158.7 kB / 0.5895 GB, free: 22.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.3387, allocations: 1.469 kB / 0.5895 GB, free: 22.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.274e-05/0.3388, allocations: 1.156 kB / 0.5895 GB, free: 22.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.405e-05/0.3389, allocations: 19.19 kB / 0.5896 GB, free: 22.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.3392, allocations: 80.12 kB / 0.5896 GB, free: 22.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.156e-05/0.3393, allocations: 34.28 kB / 0.5897 GB, free: 22.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.3394, allocations: 5.25 kB / 0.5897 GB, free: 22.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.883e-05/0.3394, allocations: 19.52 kB / 0.5897 GB, free: 22.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.587e-05/0.3395, allocations: 17.31 kB / 0.5897 GB, free: 22.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.3395, allocations: 1.094 kB / 0.5897 GB, free: 22.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004811/0.34, allocations: 185.5 kB / 0.5899 GB, free: 22.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.821e-05/0.34, allocations: 10.59 kB / 0.5899 GB, free: 22.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.3401, allocations: 9.094 kB / 0.5899 GB, free: 22.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.3402, allocations: 44.62 kB / 0.5899 GB, free: 22.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3402, allocations: 0 / 0.5899 GB, free: 22.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3402, allocations: 4.594 kB / 0.5899 GB, free: 22.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.3402, allocations: 0 / 0.5899 GB, free: 22.11 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.0003216/0.3405, allocations: 334.5 kB / 0.5903 GB, free: 21.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3406, allocations: 9.859 kB / 0.5903 GB, free: 21.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.3406, allocations: 3.688 kB / 0.5903 GB, free: 21.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.204e-05/0.3407, allocations: 166.1 kB / 0.5904 GB, free: 21.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.938e-05/0.3408, allocations: 28.55 kB / 0.5905 GB, free: 21.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.3408, allocations: 1.688 kB / 0.5905 GB, free: 21.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.3409, allocations: 52.78 kB / 0.5905 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3409, allocations: 0 / 0.5905 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.3409, allocations: 1.844 kB / 0.5905 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.341, allocations: 1.312 kB / 0.5905 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.378e-05/0.341, allocations: 16.89 kB / 0.5905 GB, free: 21.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.3414, allocations: 339 kB / 0.5909 GB, free: 21.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.036e-05/0.3414, allocations: 23.61 kB / 0.5909 GB, free: 21.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.207e-05/0.3414, allocations: 7.859 kB / 0.5909 GB, free: 21.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.096e-05/0.3415, allocations: 86.84 kB / 0.591 GB, free: 20.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.3415, allocations: 33.25 kB / 0.591 GB, free: 20.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/0.3415, allocations: 0 / 0.591 GB, free: 20.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000133/0.3417, allocations: 40.34 kB / 0.591 GB, free: 20.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.3417, allocations: 52.81 kB / 0.5911 GB, free: 20.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.53e-05/0.3418, allocations: 100.2 kB / 0.5912 GB, free: 20.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.3418, allocations: 29.7 kB / 0.5912 GB, free: 20.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.3418, allocations: 86.61 kB / 0.5913 GB, free: 20.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.851e-06/0.3418, allocations: 9.125 kB / 0.5913 GB, free: 20.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.3419, allocations: 21.08 kB / 0.5913 GB, free: 20.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.457e-05/0.3419, allocations: 319.9 kB / 0.5916 GB, free: 20.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.379e-05/0.3419, allocations: 2.375 kB / 0.5916 GB, free: 20.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.801e-05/0.342, allocations: 17.58 kB / 0.5916 GB, free: 20.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.783e-05/0.342, allocations: 19.97 kB / 0.5917 GB, free: 20.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.342, allocations: 0.5625 kB / 0.5917 GB, free: 20.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.163e-05/0.3421, allocations: 52.09 kB / 0.5917 GB, free: 20.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3421, allocations: 10.97 kB / 0.5917 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3421, allocations: 0 / 0.5917 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3421, allocations: 1.25 kB / 0.5917 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.99e-05/0.3422, allocations: 4 kB / 0.5917 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3422, allocations: 0 / 0.5917 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.814e-05/0.3422, allocations: 7.906 kB / 0.5917 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.3422, allocations: 6.375 kB / 0.5917 GB, free: 20.13 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.616e-05/0.3423, allocations: 117.8 kB / 0.5919 GB, free: 20.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.3423, allocations: 0 / 0.5919 GB, free: 20.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.971e-05/0.3424, allocations: 122.8 kB / 0.592 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/0.3424, allocations: 180.2 kB / 0.5921 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-05/0.3424, allocations: 184.2 kB / 0.5923 GB, free: 19.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.347e-05/0.3425, allocations: 185.2 kB / 0.5925 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.3426, allocations: 409.9 kB / 0.5929 GB, free: 18.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/0.3426, allocations: 110.9 kB / 0.593 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.216e-05/0.3426, allocations: 101 kB / 0.5931 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.137e-05/0.3426, allocations: 180.2 kB / 0.5933 GB, free: 18.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.3427, allocations: 181.2 kB / 0.5934 GB, free: 18.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-05/0.3427, allocations: 193.2 kB / 0.5936 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.178e-05/0.3427, allocations: 177.5 kB / 0.5938 GB, free: 17.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.931e-05/0.3428, allocations: 308.5 kB / 0.5941 GB, free: 17.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/0.3428, allocations: 183.1 kB / 0.5943 GB, free: 17.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.3429, allocations: 185.5 kB / 0.5944 GB, free: 17.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.343, allocations: 101 kB / 0.5945 GB, free: 17.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.343, allocations: 185.6 kB / 0.5947 GB, free: 16.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.3431, allocations: 104.9 kB / 0.5948 GB, free: 16.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.855e-05/0.3431, allocations: 85.84 kB / 0.5949 GB, free: 16.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3431, allocations: 0 / 0.5949 GB, free: 16.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.3433, allocations: 16 kB / 0.5949 GB, free: 16.69 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.0001758/0.3435, allocations: 213.2 kB / 0.5951 GB, free: 16.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.705e-05/0.3436, allocations: 11.98 kB / 0.5951 GB, free: 16.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3436, allocations: 3.938 kB / 0.5951 GB, free: 16.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.3436, allocations: 3.156 kB / 0.5951 GB, free: 16.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.3439, allocations: 458.8 kB / 0.5956 GB, free: 16.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002037/0.3441, allocations: 186.3 kB / 0.5957 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.601e-05/0.3442, allocations: 0.6738 MB / 0.5964 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.485e-05/0.3442, allocations: 9.266 kB / 0.5964 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.27e-05/0.3443, allocations: 7.438 kB / 0.5964 GB, free: 15.09 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3443, allocations: 0 / 0.5964 GB, free: 15.09 MB / 446.1 MB Notification: Performance of Templates: time 0.002535/0.3468, allocations: 0.6403 MB / 0.597 GB, free: 14.49 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)