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-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_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.0008199/0.00082, allocations: 100 kB / 15.05 MB, free: 1.105 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.0008363/0.0008364, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.186/1.186, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.851/0.851, allocations: 135.2 MB / 426.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003168, allocations: 8 kB / 0.5068 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.141, allocations: 82.32 MB / 0.5872 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003682/0.1447, allocations: 3.137 MB / 0.5902 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001583/0.1449, allocations: 127.8 kB / 0.5904 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.751e-05/0.1449, allocations: 3.938 kB / 0.5904 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.991e-05/0.145, allocations: 0 / 0.5904 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.275e-05/0.1451, allocations: 15.97 kB / 0.5904 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.1453, allocations: 63.83 kB / 0.5904 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.231e-05/0.1454, allocations: 19.91 kB / 0.5905 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.576e-05/0.1454, allocations: 0 / 0.5905 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.318e-05/0.1455, allocations: 19.97 kB / 0.5905 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.657e-05/0.1455, allocations: 4 kB / 0.5905 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.1455, allocations: 0 / 0.5905 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004479/0.146, allocations: 155.7 kB / 0.5906 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.643e-05/0.146, allocations: 8 kB / 0.5906 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.1461, allocations: 33.64 kB / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.957e-05/0.1462, allocations: 23.98 kB / 0.5907 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.1462, allocations: 0 / 0.5907 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1462, allocations: 0 / 0.5907 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.1462, allocations: 0 / 0.5907 GB, free: 15.46 MB / 0.4981 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.0003266/0.1465, allocations: 335.5 kB / 0.591 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1466, allocations: 12.03 kB / 0.591 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.1466, allocations: 0 / 0.591 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.99e-05/0.1467, allocations: 167 kB / 0.5912 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.461e-05/0.1468, allocations: 29.7 kB / 0.5912 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.1468, allocations: 0 / 0.5912 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.1469, allocations: 49.67 kB / 0.5913 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.1469, allocations: 0 / 0.5913 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1469, allocations: 0 / 0.5913 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.147, allocations: 4 kB / 0.5913 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.049e-05/0.147, allocations: 15.92 kB / 0.5913 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.1474, allocations: 338 kB / 0.5916 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.673e-05/0.1474, allocations: 18.58 kB / 0.5916 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.451e-05/0.1475, allocations: 85.16 kB / 0.5917 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.1475, allocations: 38.56 kB / 0.5917 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1476, allocations: 0 / 0.5917 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001247/0.1477, allocations: 37.64 kB / 0.5918 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.1477, allocations: 59.3 kB / 0.5918 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.942e-05/0.1478, allocations: 101.8 kB / 0.5919 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.1478, allocations: 25.7 kB / 0.592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.1479, allocations: 91.98 kB / 0.592 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.042e-06/0.1479, allocations: 3.906 kB / 0.592 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/0.1479, allocations: 0 / 0.592 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.817e-05/0.148, allocations: 323 kB / 0.5924 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.148, allocations: 7.938 kB / 0.5924 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.102e-05/0.148, allocations: 13.72 kB / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.803e-05/0.1481, allocations: 8 kB / 0.5924 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1481, allocations: 0 / 0.5924 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.635e-05/0.1481, allocations: 45.62 kB / 0.5924 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.1482, allocations: 8.062 kB / 0.5924 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1482, allocations: 4 kB / 0.5924 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.1482, allocations: 0 / 0.5924 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.948e-05/0.1482, allocations: 11.98 kB / 0.5925 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1482, allocations: 3.953 kB / 0.5925 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.916e-05/0.1483, allocations: 4 kB / 0.5925 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1483, allocations: 0 / 0.5925 GB, free: 13.39 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.612e-05/0.1483, allocations: 109.8 kB / 0.5926 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.1484, allocations: 4 kB / 0.5926 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.755e-05/0.1485, allocations: 128.9 kB / 0.5927 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.368e-05/0.1485, allocations: 180.5 kB / 0.5929 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-05/0.1486, allocations: 180.3 kB / 0.593 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.127e-05/0.1487, allocations: 184.2 kB / 0.5932 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.1489, allocations: 409.2 kB / 0.5936 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.839e-05/0.1489, allocations: 105 kB / 0.5937 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.629e-05/0.149, allocations: 112.9 kB / 0.5938 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.679e-05/0.149, allocations: 176.3 kB / 0.594 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-05/0.1491, allocations: 176.3 kB / 0.5941 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.494e-05/0.1491, allocations: 180.2 kB / 0.5943 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.765e-05/0.1492, allocations: 188.3 kB / 0.5945 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.1493, allocations: 307.7 kB / 0.5948 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/0.1494, allocations: 182.1 kB / 0.595 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.056e-05/0.1495, allocations: 184.2 kB / 0.5951 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.1496, allocations: 109 kB / 0.5952 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.1497, allocations: 188.1 kB / 0.5954 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.1497, allocations: 101 kB / 0.5955 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.765e-05/0.1498, allocations: 91.27 kB / 0.5956 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1498, allocations: 0 / 0.5956 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002197/0.15, allocations: 16 kB / 0.5956 GB, free: 9.93 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00014/0.1502, allocations: 190.5 kB / 0.5958 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.528e-05/0.1502, allocations: 15.94 kB / 0.5958 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1502, allocations: 0 / 0.5958 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.1502, allocations: 0 / 0.5958 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.1506, allocations: 0.5302 MB / 0.5963 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001887/0.1508, allocations: 188 kB / 0.5965 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.1511, allocations: 0.6848 MB / 0.5972 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.929e-05/0.1511, allocations: 4 kB / 0.5972 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.1511, allocations: 15.38 kB / 0.5972 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1511, allocations: 0 / 0.5972 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of Templates: time 0.002389/0.1535, allocations: 0.5458 MB / 0.5977 GB, free: 7.711 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: