Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") translateModel(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2945/0.2945, allocations: 54.41 MB / 61.89 MB, free: 13.73 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001055/0.001055, allocations: 186.9 kB / 75.62 MB, free: 0.7578 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.581/1.581, allocations: 194.3 MB / 283.5 MB, free: 14.85 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001632/0.001632, allocations: 113.8 kB / 341.6 MB, free: 4.023 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.683e-05/2.658e-05, allocations: 7.984 kB / 405.5 MB, free: 4.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4136, allocations: 57.64 MB / 463.1 MB, free: 51.73 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7479/1.162, allocations: 292.8 MB / 0.7382 GB, free: 47.61 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/1.162, allocations: 72.95 kB / 0.7383 GB, free: 47.57 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1352/1.297, allocations: 65.14 MB / 0.8019 GB, free: 5.227 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.395e-06/1.297, allocations: 0 / 0.8019 GB, free: 5.227 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.18e-05/1.297, allocations: 12 kB / 0.8019 GB, free: 5.215 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001487/1.299, allocations: 0.5813 MB / 0.8025 GB, free: 4.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/1.299, allocations: 12.03 kB / 0.8025 GB, free: 4.578 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008115/1.3, allocations: 75.56 kB / 0.8025 GB, free: 4.504 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005724/1.3, allocations: 275.9 kB / 0.8028 GB, free: 4.195 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/1.3, allocations: 8 kB / 0.8028 GB, free: 4.188 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-05/1.3, allocations: 15.95 kB / 0.8028 GB, free: 4.172 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004187/1.301, allocations: 169.1 kB / 0.803 GB, free: 4.008 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005326/1.301, allocations: 289.2 kB / 0.8033 GB, free: 3.688 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/1.301, allocations: 3.938 kB / 0.8033 GB, free: 3.684 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.829e-05/1.302, allocations: 0 / 0.8033 GB, free: 3.684 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/1.302, allocations: 8 kB / 0.8033 GB, free: 3.676 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002324/1.304, allocations: 1.632 MB / 0.8049 GB, free: 1.922 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/1.304, allocations: 174.9 kB / 0.805 GB, free: 1.742 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/1.304, allocations: 73.23 kB / 0.8051 GB, free: 1.668 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/1.304, allocations: 8.359 kB / 0.8051 GB, free: 1.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/1.304, allocations: 34.75 kB / 0.8052 GB, free: 1.617 MB / 490.7 MB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/1.304, allocations: 0 / 0.8052 GB, free: 1.617 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.002635/1.307, allocations: 0.8415 MB / 0.806 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/1.307, allocations: 55.41 kB / 0.806 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/1.307, allocations: 203.1 kB / 0.8062 GB, free: 460 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/1.307, allocations: 25.7 kB / 0.8062 GB, free: 428 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/1.308, allocations: 179.8 kB / 0.8064 GB, free: 244 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.878e-05/1.308, allocations: 94.64 kB / 0.8065 GB, free: 148 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.769e-05/1.308, allocations: 0 / 0.8065 GB, free: 148 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002129/1.308, allocations: 338.8 kB / 0.8068 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/1.308, allocations: 78.41 kB / 0.8069 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/1.308, allocations: 156.9 kB / 0.8071 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/1.309, allocations: 107.9 kB / 0.8072 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.309, allocations: 3.953 kB / 0.8072 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009423/1.31, allocations: 389.8 kB / 0.8075 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/1.31, allocations: 8 kB / 0.8075 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/1.31, allocations: 4 kB / 0.8075 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000527/1.31, allocations: 117 kB / 0.8077 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/1.311, allocations: 71.84 kB / 0.8077 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002975/1.314, allocations: 1.931 MB / 0.8096 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/1.314, allocations: 19.94 kB / 0.8096 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/1.314, allocations: 16 kB / 0.8096 GB, free: 12.76 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003082/1.314, allocations: 129.5 kB / 0.8098 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.704e-05/1.315, allocations: 23.72 kB / 0.8098 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/1.315, allocations: 35.17 kB / 0.8098 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/1.315, allocations: 0 / 0.8098 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/1.315, allocations: 0 / 0.8098 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009662/1.316, allocations: 0.5942 MB / 0.8104 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/1.317, allocations: 0.7291 MB / 0.8111 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/1.317, allocations: 4 kB / 0.8111 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/1.318, allocations: 35.92 kB / 0.8112 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006411/1.318, allocations: 129 kB / 0.8113 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/1.318, allocations: 7.984 kB / 0.8113 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003037/1.321, allocations: 1.833 MB / 0.8131 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/1.321, allocations: 4.031 kB / 0.8131 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/1.323, allocations: 0.5532 MB / 0.8136 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/1.323, allocations: 100.8 kB / 0.8137 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/1.323, allocations: 4 kB / 0.8137 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/1.323, allocations: 11.98 kB / 0.8137 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/1.323, allocations: 31.92 kB / 0.8138 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/1.323, allocations: 12 kB / 0.8138 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002477/1.324, allocations: 157.9 kB / 0.8139 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.324, allocations: 0 / 0.8139 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000835/1.325, allocations: 100 kB / 0.814 GB, free: 7.934 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004437/1.325, allocations: 165.4 kB / 0.8142 GB, free: 7.762 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001064/1.326, allocations: 385.9 kB / 0.8145 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.326, allocations: 4.062 kB / 0.8146 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005553/1.327, allocations: 253.5 kB / 0.8148 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000772/1.327, allocations: 112.6 kB / 0.8149 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/1.329, allocations: 460.7 kB / 0.8153 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/1.329, allocations: 0.7717 MB / 0.8161 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003219/1.329, allocations: 47.27 kB / 0.8161 GB, free: 5.676 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.615e-05/1.329, allocations: 27.42 kB / 0.8162 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/1.329, allocations: 0 / 0.8162 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of Templates: time 0.3135/1.643, allocations: 5.905 MB / 0.8219 GB, free: 151.9 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe 2>&1)