Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.008412/0.008413, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001518/0.001518, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9721/0.9721, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 55.91 kB / 0.5856 GB, free: 3.355 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4916/0.4931, allocations: 80.91 MB / 0.6646 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004983/0.4981, allocations: 4.027 MB / 0.6686 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001729/0.4983, allocations: 148.3 kB / 0.6687 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.661e-05/0.4983, allocations: 1.188 kB / 0.6687 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.724e-05/0.4984, allocations: 3.938 kB / 0.6687 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.111e-05/0.4985, allocations: 18.66 kB / 0.6687 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.4988, allocations: 79.56 kB / 0.6688 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.225e-05/0.4989, allocations: 32.52 kB / 0.6688 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.999e-05/0.4989, allocations: 2.562 kB / 0.6688 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.538e-05/0.499, allocations: 21.12 kB / 0.6688 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.986e-05/0.499, allocations: 6.688 kB / 0.6689 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.4991, allocations: 0 / 0.6689 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.4992, allocations: 66.08 kB / 0.6689 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.17e-05/0.4993, allocations: 10.7 kB / 0.6689 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.4993, allocations: 3.906 kB / 0.6689 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.4994, allocations: 46.95 kB / 0.669 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4995, allocations: 0 / 0.669 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4995, allocations: 5.375 kB / 0.669 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.4995, allocations: 0 / 0.669 GB, free: 4.016 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.0003372/0.4998, allocations: 336.6 kB / 0.6693 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.4999, allocations: 9.125 kB / 0.6693 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.4999, allocations: 6.5 kB / 0.6693 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.328e-05/0.5, allocations: 161.9 kB / 0.6695 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.902e-05/0.5, allocations: 27.89 kB / 0.6695 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.5001, allocations: 384 / 0.6695 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.5002, allocations: 51.98 kB / 0.6695 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.5002, allocations: 3.938 kB / 0.6696 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.5002, allocations: 1.469 kB / 0.6696 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.5002, allocations: 0 / 0.6696 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.53e-05/0.5003, allocations: 21.67 kB / 0.6696 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.5006, allocations: 337.5 kB / 0.6699 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.518e-05/0.5007, allocations: 20.05 kB / 0.6699 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.584e-05/0.5007, allocations: 10.05 kB / 0.6699 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.911e-05/0.5008, allocations: 82.3 kB / 0.67 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.5008, allocations: 31.66 kB / 0.67 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.5008, allocations: 4 kB / 0.67 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001404/0.501, allocations: 47.55 kB / 0.6701 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.501, allocations: 52.72 kB / 0.6701 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.77e-05/0.5011, allocations: 95.33 kB / 0.6702 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.5011, allocations: 27.23 kB / 0.6702 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.5011, allocations: 95.14 kB / 0.6703 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.39e-06/0.5011, allocations: 3.984 kB / 0.6703 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.5011, allocations: 17.28 kB / 0.6704 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.799e-05/0.5012, allocations: 324.2 kB / 0.6707 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.579e-05/0.5012, allocations: 6.734 kB / 0.6707 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.088e-05/0.5012, allocations: 13.56 kB / 0.6707 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.055e-05/0.5013, allocations: 24.22 kB / 0.6707 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5013, allocations: 0 / 0.6707 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.961e-05/0.5014, allocations: 58.56 kB / 0.6708 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.5014, allocations: 8.062 kB / 0.6708 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.5014, allocations: 0 / 0.6708 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.5014, allocations: 1.188 kB / 0.6708 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.819e-05/0.5015, allocations: 9.219 kB / 0.6708 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.5015, allocations: 3.984 kB / 0.6708 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.054e-05/0.5015, allocations: 5.281 kB / 0.6708 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.5015, allocations: 1.562 kB / 0.6708 GB, free: 2.02 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 4.924e-05/0.5016, allocations: 113.4 kB / 0.6709 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.5016, allocations: 5.156 kB / 0.6709 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.36e-05/0.5017, allocations: 120.9 kB / 0.671 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-05/0.5017, allocations: 180.2 kB / 0.6712 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.576e-05/0.5017, allocations: 177.4 kB / 0.6714 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.55e-05/0.5018, allocations: 181.4 kB / 0.6715 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.5019, allocations: 412.6 kB / 0.6719 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/0.5019, allocations: 106.4 kB / 0.672 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.745e-05/0.502, allocations: 108.9 kB / 0.6721 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-05/0.502, allocations: 181.3 kB / 0.6723 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.502, allocations: 185.6 kB / 0.6725 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.517e-05/0.5021, allocations: 177.5 kB / 0.6727 GB, free: 16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.109e-05/0.5022, allocations: 185.3 kB / 0.6728 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.5023, allocations: 308.3 kB / 0.6731 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.785e-05/0.5024, allocations: 185.9 kB / 0.6733 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.359e-05/0.5025, allocations: 179 kB / 0.6735 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.5027, allocations: 111.6 kB / 0.6736 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.555e-05/0.5027, allocations: 181.7 kB / 0.6738 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/0.5028, allocations: 101 kB / 0.6739 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.386e-05/0.5028, allocations: 88.77 kB / 0.6739 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5028, allocations: 0 / 0.6739 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002492/0.5031, allocations: 11.94 kB / 0.6739 GB, free: 14.62 MB / 0.5137 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.0002814/0.5034, allocations: 204.5 kB / 0.6741 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.468e-05/0.5035, allocations: 18.2 kB / 0.6742 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5035, allocations: 0 / 0.6742 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.843e-06/0.5035, allocations: 1.188 kB / 0.6742 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.5039, allocations: 463.5 kB / 0.6746 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002469/0.5041, allocations: 181.3 kB / 0.6748 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.5045, allocations: 0.6754 MB / 0.6754 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.974e-05/0.5045, allocations: 7.719 kB / 0.6754 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.654e-05/0.5045, allocations: 9.812 kB / 0.6755 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.5046, allocations: 0 / 0.6755 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of Templates: time 0.002774/0.5073, allocations: 0.6355 MB / 0.6761 GB, free: 12.74 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)