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.0009278/0.0009278, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 176.2 kB / 16.92 MB, free: 6.652 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.321/1.321, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8946/0.8946, allocations: 135.3 MB / 427.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002976, allocations: 12 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1413, allocations: 82.3 MB / 0.5886 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004407/0.1457, allocations: 3.408 MB / 0.5919 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001958/0.1459, allocations: 163.5 kB / 0.5921 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.584e-05/0.146, allocations: 0 / 0.5921 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.539e-05/0.1461, allocations: 7.938 kB / 0.5921 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.618e-05/0.1461, allocations: 7.969 kB / 0.5921 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.1464, allocations: 71.77 kB / 0.5922 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.95e-05/0.1465, allocations: 71.73 kB / 0.5922 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.631e-05/0.1466, allocations: 4 kB / 0.5922 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.683e-05/0.1466, allocations: 12 kB / 0.5922 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.584e-05/0.1467, allocations: 11.98 kB / 0.5923 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.1467, allocations: 0 / 0.5923 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005718/0.1473, allocations: 195.4 kB / 0.5924 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.035e-05/0.1473, allocations: 7.938 kB / 0.5925 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.1474, allocations: 41.67 kB / 0.5925 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.173e-05/0.1475, allocations: 28.2 kB / 0.5925 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1475, allocations: 0 / 0.5925 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1475, allocations: 4 kB / 0.5925 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.1475, allocations: 0 / 0.5925 GB, free: 14.58 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.0003428/0.1479, allocations: 327.6 kB / 0.5928 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1479, allocations: 8.031 kB / 0.5928 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.148, allocations: 4.875 kB / 0.5929 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.1481, allocations: 168.4 kB / 0.593 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/0.1481, allocations: 26.27 kB / 0.593 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.1482, allocations: 384 / 0.593 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.1483, allocations: 57.56 kB / 0.5931 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.1483, allocations: 0 / 0.5931 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1483, allocations: 0 / 0.5931 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.1484, allocations: 0 / 0.5931 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.513e-05/0.1484, allocations: 15.98 kB / 0.5931 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.1488, allocations: 337.9 kB / 0.5934 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.322e-05/0.1489, allocations: 22.58 kB / 0.5935 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.616e-05/0.1489, allocations: 16.73 kB / 0.5935 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-05/0.149, allocations: 89.16 kB / 0.5936 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.149, allocations: 30.56 kB / 0.5936 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.149, allocations: 0 / 0.5936 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001422/0.1492, allocations: 29.7 kB / 0.5936 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.975e-05/0.1493, allocations: 55.41 kB / 0.5937 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.503e-05/0.1494, allocations: 106 kB / 0.5938 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.1494, allocations: 25.7 kB / 0.5938 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.1495, allocations: 96.03 kB / 0.5939 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.91e-06/0.1495, allocations: 0 / 0.5939 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/0.1495, allocations: 9.719 kB / 0.5939 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1496, allocations: 318.8 kB / 0.5942 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.1496, allocations: 7.938 kB / 0.5942 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.411e-05/0.1497, allocations: 17.91 kB / 0.5942 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.331e-05/0.1497, allocations: 21.7 kB / 0.5942 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1497, allocations: 4 kB / 0.5942 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.744e-05/0.1498, allocations: 45.64 kB / 0.5943 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1498, allocations: 4 kB / 0.5943 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1498, allocations: 3.984 kB / 0.5943 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1498, allocations: 96 / 0.5943 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.514e-05/0.1499, allocations: 11.98 kB / 0.5943 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1499, allocations: 64 / 0.5943 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.053e-05/0.1499, allocations: 7.906 kB / 0.5943 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.15, allocations: 8 kB / 0.5943 GB, free: 12.47 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.26e-05/0.15, allocations: 109.8 kB / 0.5944 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.1501, allocations: 3.938 kB / 0.5944 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.1502, allocations: 124.4 kB / 0.5945 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.706e-05/0.1502, allocations: 184.3 kB / 0.5947 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.037e-05/0.1503, allocations: 184.2 kB / 0.5949 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.632e-05/0.1504, allocations: 176.3 kB / 0.5951 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.1506, allocations: 413.1 kB / 0.5955 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.197e-05/0.1506, allocations: 109 kB / 0.5956 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.814e-05/0.1507, allocations: 101 kB / 0.5957 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.804e-05/0.1507, allocations: 184.2 kB / 0.5958 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.118e-05/0.1508, allocations: 180.3 kB / 0.596 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-05/0.1509, allocations: 180.2 kB / 0.5962 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.402e-05/0.1509, allocations: 180.3 kB / 0.5964 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.151, allocations: 315.7 kB / 0.5967 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.958e-05/0.1511, allocations: 182.1 kB / 0.5968 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.97e-05/0.1512, allocations: 188.2 kB / 0.597 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.1513, allocations: 105 kB / 0.5971 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.1514, allocations: 176.3 kB / 0.5973 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.655e-05/0.1515, allocations: 116.8 kB / 0.5974 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.243e-05/0.1516, allocations: 87.28 kB / 0.5975 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1516, allocations: 0 / 0.5975 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002291/0.1518, allocations: 19.94 kB / 0.5975 GB, free: 9.004 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 (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.0002152/0.152, allocations: 194.4 kB / 0.5977 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.739e-05/0.1521, allocations: 8 kB / 0.5977 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1521, allocations: 128 / 0.5977 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.006e-06/0.1521, allocations: 7.938 kB / 0.5977 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.1525, allocations: 0.5263 MB / 0.5982 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003081/0.1528, allocations: 225.8 kB / 0.5984 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.1531, allocations: 0.6731 MB / 0.5991 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/0.1531, allocations: 11.44 kB / 0.5991 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1531, allocations: 0 / 0.5991 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of Templates: time 0.002111/0.1552, allocations: 0.7472 MB / 0.5998 GB, free: 6.559 MB / 0.4981 GB 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)