Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005753/0.005754, allocations: 102 kB / 15.73 MB, free: 6.438 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.001183/0.001183, allocations: 194.3 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4808/0.4808, allocations: 54.94 MB / 324.9 MB, free: 52 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 67.86 kB / 456.3 MB, free: 38.21 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1474, allocations: 59.59 MB / 0.5038 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004453/0.1519, allocations: 3.286 MB / 0.507 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 9.177e-05/0.152, allocations: 50.5 kB / 0.5071 GB, free: 6.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.1521, allocations: 1.344 kB / 0.5071 GB, free: 6.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.1522, allocations: 0 / 0.5071 GB, free: 6.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.504e-05/0.1523, allocations: 14.59 kB / 0.5071 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004765/0.1528, allocations: 180.7 kB / 0.5073 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.081e-05/0.1529, allocations: 30.84 kB / 0.5073 GB, free: 6.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.454e-05/0.1529, allocations: 1.312 kB / 0.5073 GB, free: 6.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.103e-05/0.153, allocations: 20.05 kB / 0.5073 GB, free: 6.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.453e-05/0.153, allocations: 10.86 kB / 0.5073 GB, free: 6.668 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.1531, allocations: 0 / 0.5073 GB, free: 6.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003451/0.1534, allocations: 172.3 kB / 0.5075 GB, free: 6.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.811e-05/0.1535, allocations: 9.344 kB / 0.5075 GB, free: 6.559 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.1535, allocations: 12.06 kB / 0.5075 GB, free: 6.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.1538, allocations: 124.5 kB / 0.5076 GB, free: 6.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1538, allocations: 1.375 kB / 0.5076 GB, free: 6.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1538, allocations: 3.938 kB / 0.5076 GB, free: 6.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.1538, allocations: 0 / 0.5076 GB, free: 6.488 MB / 382.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.0004188/0.1542, allocations: 344 kB / 0.508 GB, free: 6.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1543, allocations: 9.625 kB / 0.508 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.1543, allocations: 2.312 kB / 0.508 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.304e-05/0.1544, allocations: 168.4 kB / 0.5081 GB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.159e-05/0.1545, allocations: 27.64 kB / 0.5082 GB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.1545, allocations: 1.75 kB / 0.5082 GB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.1547, allocations: 51.19 kB / 0.5082 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1547, allocations: 0 / 0.5082 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.1547, allocations: 1.375 kB / 0.5082 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.1547, allocations: 3.984 kB / 0.5082 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.884e-05/0.1548, allocations: 21.55 kB / 0.5082 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005293/0.1553, allocations: 0.5879 MB / 0.5088 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.557e-05/0.1554, allocations: 17.33 kB / 0.5088 GB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.495e-05/0.1554, allocations: 6.234 kB / 0.5088 GB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001535/0.1556, allocations: 350.2 kB / 0.5092 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.1556, allocations: 34.55 kB / 0.5092 GB, free: 4.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.1556, allocations: 5.375 kB / 0.5092 GB, free: 4.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001478/0.1557, allocations: 35.14 kB / 0.5092 GB, free: 4.629 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.1558, allocations: 55.41 kB / 0.5093 GB, free: 4.562 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.559e-05/0.1558, allocations: 99.34 kB / 0.5094 GB, free: 4.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.1559, allocations: 25.7 kB / 0.5094 GB, free: 4.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.1559, allocations: 85.42 kB / 0.5095 GB, free: 4.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.221e-06/0.1559, allocations: 5.375 kB / 0.5095 GB, free: 4.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.1559, allocations: 12.47 kB / 0.5095 GB, free: 4.324 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.72e-05/0.156, allocations: 320.3 kB / 0.5098 GB, free: 4.004 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.156, allocations: 10.73 kB / 0.5098 GB, free: 3.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.008e-05/0.156, allocations: 13.84 kB / 0.5098 GB, free: 3.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.937e-05/0.1561, allocations: 23.16 kB / 0.5099 GB, free: 3.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1561, allocations: 1.375 kB / 0.5099 GB, free: 3.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.673e-05/0.1562, allocations: 46.06 kB / 0.5099 GB, free: 3.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1562, allocations: 5.5 kB / 0.5099 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1562, allocations: 0 / 0.5099 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1562, allocations: 1.375 kB / 0.5099 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.827e-05/0.1563, allocations: 17.14 kB / 0.5099 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.1563, allocations: 0 / 0.5099 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.037e-05/0.1563, allocations: 4.969 kB / 0.5099 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.1563, allocations: 6.25 kB / 0.5099 GB, free: 3.898 MB / 382.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 5.496e-05/0.1564, allocations: 111.2 kB / 0.51 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.1564, allocations: 6.438 kB / 0.51 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.233e-05/0.1565, allocations: 119.6 kB / 0.5102 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.13e-05/0.1566, allocations: 181.8 kB / 0.5103 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.023e-05/0.1566, allocations: 176.3 kB / 0.5105 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-05/0.1566, allocations: 185.5 kB / 0.5107 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.1568, allocations: 411.9 kB / 0.5111 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/0.1568, allocations: 102.5 kB / 0.5112 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.559e-05/0.1568, allocations: 105 kB / 0.5113 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.536e-05/0.1568, allocations: 185.6 kB / 0.5114 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.1569, allocations: 185.6 kB / 0.5116 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.718e-05/0.1569, allocations: 177.6 kB / 0.5118 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.652e-05/0.1569, allocations: 184.3 kB / 0.512 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.268e-05/0.157, allocations: 307.8 kB / 0.5123 GB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.1571, allocations: 183.6 kB / 0.5124 GB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.1571, allocations: 181.6 kB / 0.5126 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.1572, allocations: 111.8 kB / 0.5127 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.483e-05/0.1573, allocations: 180.2 kB / 0.5129 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.1573, allocations: 102.4 kB / 0.513 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.241e-05/0.1573, allocations: 84.78 kB / 0.5131 GB, free: 0.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1573, allocations: 0 / 0.5131 GB, free: 0.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.1576, allocations: 38.36 kB / 0.5131 GB, free: 496 kB / 382.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.0002517/0.1579, allocations: 244.3 kB / 0.5133 GB, free: 288 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.646e-05/0.158, allocations: 14.53 kB / 0.5133 GB, free: 280 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.158, allocations: 0 / 0.5133 GB, free: 280 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.158, allocations: 4.125 kB / 0.5134 GB, free: 276 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.1584, allocations: 459.3 kB / 0.5138 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.1587, allocations: 183.9 kB / 0.514 GB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.159, allocations: 0.6794 MB / 0.5146 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.122e-05/0.159, allocations: 11.58 kB / 0.5146 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.159, allocations: 9.125 kB / 0.5146 GB, free: 14.92 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1591, allocations: 0 / 0.5146 GB, free: 14.92 MB / 398.1 MB Notification: Performance of Templates: time 0.003703/0.1628, allocations: 1.172 MB / 0.5158 GB, free: 13.94 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)