Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 99.47 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.0009909/0.000991, allocations: 177.3 kB / 15.95 MB, free: 216 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.2/1.2, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8405/0.8405, allocations: 135.2 MB / 426.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002955/0.0002956, allocations: 12 kB / 0.5068 GB, free: 5.289 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1418, allocations: 82.31 MB / 0.5872 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003885/0.1457, allocations: 3.389 MB / 0.5905 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001533/0.1459, allocations: 127.8 kB / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.567e-05/0.1459, allocations: 0 / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.746e-05/0.146, allocations: 3.938 kB / 0.5906 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.562e-05/0.1461, allocations: 11.97 kB / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.1464, allocations: 66.45 kB / 0.5907 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.251e-05/0.1464, allocations: 15.97 kB / 0.5907 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.1465, allocations: 0 / 0.5907 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.559e-05/0.1465, allocations: 27.91 kB / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.689e-05/0.1466, allocations: 4 kB / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.1466, allocations: 0 / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.1468, allocations: 39.91 kB / 0.5908 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.931e-05/0.1468, allocations: 7.984 kB / 0.5908 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.147e-05/0.1468, allocations: 25.7 kB / 0.5908 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.419e-05/0.1469, allocations: 23.98 kB / 0.5908 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.1469, allocations: 3.938 kB / 0.5908 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.015e-06/0.1469, allocations: 4 kB / 0.5908 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.1469, allocations: 0 / 0.5908 GB, free: 15.37 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.1473, allocations: 335.5 kB / 0.5912 GB, free: 15 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.1473, allocations: 8.031 kB / 0.5912 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.1473, allocations: 4 kB / 0.5912 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.1475, allocations: 163 kB / 0.5913 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.798e-05/0.1475, allocations: 25.7 kB / 0.5914 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.1475, allocations: 4 kB / 0.5914 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.1477, allocations: 53.59 kB / 0.5914 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.1477, allocations: 4 kB / 0.5914 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1477, allocations: 3.938 kB / 0.5914 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.1477, allocations: 0 / 0.5914 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.065e-05/0.1478, allocations: 15.98 kB / 0.5914 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.1482, allocations: 334 kB / 0.5917 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.35e-05/0.1482, allocations: 22.52 kB / 0.5918 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.461e-05/0.1483, allocations: 81.17 kB / 0.5918 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.1483, allocations: 38.56 kB / 0.5919 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1483, allocations: 0 / 0.5919 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001262/0.1485, allocations: 33.69 kB / 0.5919 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.1485, allocations: 59.3 kB / 0.592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.783e-05/0.1486, allocations: 109.8 kB / 0.5921 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.1486, allocations: 25.7 kB / 0.5921 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.1486, allocations: 84.08 kB / 0.5922 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.112e-06/0.1487, allocations: 12.03 kB / 0.5922 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-06/0.1487, allocations: 0 / 0.5922 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.1488, allocations: 314.8 kB / 0.5925 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.1488, allocations: 3.938 kB / 0.5925 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.225e-05/0.1488, allocations: 21.7 kB / 0.5925 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.619e-05/0.1488, allocations: 4 kB / 0.5925 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1488, allocations: 0 / 0.5925 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.814e-05/0.1489, allocations: 57.62 kB / 0.5926 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.1489, allocations: 4 kB / 0.5926 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1489, allocations: 0 / 0.5926 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.149, allocations: 3.938 kB / 0.5926 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.627e-05/0.149, allocations: 4 kB / 0.5926 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.149, allocations: 7.953 kB / 0.5926 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/0.149, allocations: 0 / 0.5926 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.149, allocations: 0 / 0.5926 GB, free: 13.31 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 6.237e-05/0.1491, allocations: 113.9 kB / 0.5927 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.1491, allocations: 4 kB / 0.5927 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.757e-05/0.1492, allocations: 124.8 kB / 0.5928 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.136e-05/0.1493, allocations: 176.3 kB / 0.593 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.265e-05/0.1494, allocations: 184.2 kB / 0.5932 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.864e-05/0.1494, allocations: 188.2 kB / 0.5934 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.1496, allocations: 409.2 kB / 0.5937 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.847e-05/0.1497, allocations: 104.9 kB / 0.5938 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.688e-05/0.1497, allocations: 101 kB / 0.5939 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.728e-05/0.1498, allocations: 180.3 kB / 0.5941 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.977e-05/0.1498, allocations: 188.2 kB / 0.5943 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.607e-05/0.1499, allocations: 180.2 kB / 0.5945 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.993e-05/0.15, allocations: 184.2 kB / 0.5946 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.1501, allocations: 303.8 kB / 0.5949 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.1501, allocations: 190 kB / 0.5951 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.853e-05/0.1502, allocations: 176.3 kB / 0.5953 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.1504, allocations: 116.9 kB / 0.5954 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.1504, allocations: 176.3 kB / 0.5956 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/0.1505, allocations: 108.9 kB / 0.5957 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.91e-05/0.1505, allocations: 83.28 kB / 0.5957 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1505, allocations: 3.938 kB / 0.5957 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002193/0.1508, allocations: 19.98 kB / 0.5958 GB, free: 9.844 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.00016/0.1509, allocations: 190.5 kB / 0.5959 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.527e-05/0.151, allocations: 8 kB / 0.5959 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.151, allocations: 0 / 0.5959 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.847e-06/0.151, allocations: 4 kB / 0.596 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.1513, allocations: 0.5278 MB / 0.5965 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.1515, allocations: 199.9 kB / 0.5967 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.1518, allocations: 0.677 MB / 0.5973 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.536e-05/0.1518, allocations: 4 kB / 0.5973 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.542e-05/0.1518, allocations: 7.438 kB / 0.5973 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1518, allocations: 4 kB / 0.5973 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of Templates: time 0.002208/0.1541, allocations: 0.5438 MB / 0.5979 GB, free: 7.633 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: