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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.0009801/0.0009799, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007646/0.007646, allocations: 168.9 kB / 16.26 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.421/1.421, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.786/0.786, allocations: 132.4 MB / 423.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003255, allocations: 15.92 kB / 0.504 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4532/0.4535, allocations: 81.57 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006859/0.4605, allocations: 3.683 MB / 0.5873 GB, free: 1.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003144/0.4608, allocations: 164.9 kB / 0.5874 GB, free: 1.203 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.052e-05/0.4608, allocations: 4 kB / 0.5874 GB, free: 1.199 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.461, allocations: 0.7031 kB / 0.5874 GB, free: 1.199 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.541e-05/0.4611, allocations: 9.641 kB / 0.5874 GB, free: 1.195 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004543/0.4616, allocations: 77.62 kB / 0.5875 GB, free: 1.156 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.4617, allocations: 54.14 kB / 0.5875 GB, free: 1.145 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.731e-05/0.4618, allocations: 9.609 kB / 0.5876 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.865e-05/0.4619, allocations: 15.41 kB / 0.5876 GB, free: 1.133 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.137e-05/0.462, allocations: 21.02 kB / 0.5876 GB, free: 1.121 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.462, allocations: 0.8438 kB / 0.5876 GB, free: 1.121 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003397/0.4624, allocations: 72.75 kB / 0.5877 GB, free: 1.094 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.381e-05/0.4624, allocations: 9.703 kB / 0.5877 GB, free: 1.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.4625, allocations: 36.02 kB / 0.5877 GB, free: 1.055 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.4627, allocations: 45.05 kB / 0.5877 GB, free: 1.043 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4627, allocations: 0 / 0.5877 GB, free: 1.043 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4627, allocations: 0 / 0.5877 GB, free: 1.043 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.4628, allocations: 1.875 kB / 0.5877 GB, free: 1.043 MB / 430.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.0004441/0.4632, allocations: 339.5 kB / 0.5881 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.4633, allocations: 10.03 kB / 0.5881 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.242e-05/0.4633, allocations: 5.562 kB / 0.5881 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.4635, allocations: 162.8 kB / 0.5882 GB, free: 492 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.504e-05/0.4636, allocations: 29 kB / 0.5883 GB, free: 460 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.4636, allocations: 2.312 kB / 0.5883 GB, free: 460 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.4638, allocations: 47.97 kB / 0.5883 GB, free: 420 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.4638, allocations: 0.75 kB / 0.5883 GB, free: 420 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.4639, allocations: 4 kB / 0.5883 GB, free: 416 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.4639, allocations: 6.484 kB / 0.5883 GB, free: 412 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.093e-05/0.464, allocations: 12.3 kB / 0.5883 GB, free: 412 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.4645, allocations: 337.4 kB / 0.5887 GB, free: 32 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.697e-05/0.4646, allocations: 20.44 kB / 0.5887 GB, free: 4 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.553e-05/0.4647, allocations: 5.766 kB / 0.5887 GB, free: 16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/0.4648, allocations: 88.38 kB / 0.5888 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.4649, allocations: 36.86 kB / 0.5888 GB, free: 15.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 2.114e-06/0.4649, allocations: 0 / 0.5888 GB, free: 15.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002341/0.4651, allocations: 40.64 kB / 0.5888 GB, free: 15.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.4652, allocations: 52.41 kB / 0.5889 GB, free: 15.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.4653, allocations: 102.8 kB / 0.589 GB, free: 15.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.4654, allocations: 26.92 kB / 0.589 GB, free: 15.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.379e-05/0.4655, allocations: 93.55 kB / 0.5891 GB, free: 15.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.078e-05/0.4655, allocations: 5.281 kB / 0.5891 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.4655, allocations: 10.75 kB / 0.5891 GB, free: 15.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4657, allocations: 317.1 kB / 0.5894 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.649e-05/0.4658, allocations: 3.938 kB / 0.5894 GB, free: 15.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.108e-05/0.4658, allocations: 18.95 kB / 0.5894 GB, free: 15.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.683e-05/0.4659, allocations: 24.97 kB / 0.5895 GB, free: 15.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.4659, allocations: 0.7031 kB / 0.5895 GB, free: 15.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00014/0.466, allocations: 45.62 kB / 0.5895 GB, free: 15.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.4661, allocations: 5.75 kB / 0.5895 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4661, allocations: 0 / 0.5895 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.4661, allocations: 1.562 kB / 0.5895 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.141e-05/0.4662, allocations: 9.875 kB / 0.5895 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.4662, allocations: 2.172 kB / 0.5895 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.99e-05/0.4663, allocations: 5.312 kB / 0.5895 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.4663, allocations: 5.438 kB / 0.5895 GB, free: 15.1 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 0.0001201/0.4664, allocations: 117.4 kB / 0.5897 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.4665, allocations: 6.281 kB / 0.5897 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.4667, allocations: 115.2 kB / 0.5898 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.998e-05/0.4668, allocations: 185 kB / 0.5899 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-05/0.4669, allocations: 178.3 kB / 0.5901 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.401e-05/0.467, allocations: 186.3 kB / 0.5903 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/0.4674, allocations: 411.3 kB / 0.5907 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.583e-05/0.4674, allocations: 102.4 kB / 0.5908 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.706e-05/0.4675, allocations: 110.4 kB / 0.5909 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-05/0.4676, allocations: 178.6 kB / 0.5911 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-05/0.4677, allocations: 186.4 kB / 0.5912 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.04e-05/0.4678, allocations: 178.3 kB / 0.5914 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-05/0.4679, allocations: 177 kB / 0.5916 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.4681, allocations: 309.9 kB / 0.5919 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.4683, allocations: 190.9 kB / 0.5921 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.4684, allocations: 186.2 kB / 0.5922 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.4687, allocations: 107.5 kB / 0.5923 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.4688, allocations: 180.8 kB / 0.5925 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-05/0.4689, allocations: 102.8 kB / 0.5926 GB, free: 11.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.527e-05/0.469, allocations: 86.5 kB / 0.5927 GB, free: 11.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.469, allocations: 0 / 0.5927 GB, free: 11.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004268/0.4694, allocations: 16.31 kB / 0.5927 GB, free: 11.72 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.0003981/0.4699, allocations: 201.2 kB / 0.5929 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.47, allocations: 11.72 kB / 0.5929 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.47, allocations: 0 / 0.5929 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.795e-06/0.47, allocations: 0.6875 kB / 0.5929 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/0.4707, allocations: 0.5281 MB / 0.5934 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003894/0.4711, allocations: 188.6 kB / 0.5936 GB, free: 10.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.4715, allocations: 0.6751 MB / 0.5943 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.017e-05/0.4716, allocations: 12.84 kB / 0.5943 GB, free: 10.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.4716, allocations: 9.594 kB / 0.5943 GB, free: 10.12 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4716, allocations: 3.938 kB / 0.5943 GB, free: 10.12 MB / 446.1 MB Notification: Performance of Templates: time 0.005251/0.4769, allocations: 0.603 MB / 0.5949 GB, free: 10.04 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (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)