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.2889/0.2889, allocations: 54.34 MB / 66.89 MB, free: 6.086 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.001423/0.001423, allocations: 188.1 kB / 80.71 MB, free: 15.39 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.513/1.513, allocations: 194.2 MB / 288.6 MB, free: 15.07 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.001646/0.001646, allocations: 116.9 kB / 346.9 MB, free: 4.785 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.041e-05/4.043e-05, allocations: 11.98 kB / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1423, allocations: 57.63 MB / 470 MB, free: 11.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.051/1.193, allocations: 293.4 MB / 0.7456 GB, free: 84.19 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003843/1.194, allocations: 78.95 kB / 0.7456 GB, free: 84.15 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1122/1.306, allocations: 65.38 MB / 0.8095 GB, free: 21.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.214e-06/1.306, allocations: 0 / 0.8095 GB, free: 21.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.152e-05/1.306, allocations: 8 kB / 0.8095 GB, free: 21.9 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.0008912/1.307, allocations: 0.5968 MB / 0.8101 GB, free: 21.26 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/1.307, allocations: 8.031 kB / 0.8101 GB, free: 21.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005929/1.308, allocations: 75.56 kB / 0.8102 GB, free: 21.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/1.308, allocations: 278.5 kB / 0.8104 GB, free: 20.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/1.308, allocations: 20.56 kB / 0.8104 GB, free: 20.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.013e-05/1.308, allocations: 27.95 kB / 0.8105 GB, free: 20.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004772/1.309, allocations: 322.3 kB / 0.8108 GB, free: 20.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/1.309, allocations: 0 / 0.8108 GB, free: 20.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/1.309, allocations: 12 kB / 0.8108 GB, free: 20.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/1.309, allocations: 8 kB / 0.8108 GB, free: 20.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/1.309, allocations: 205.5 kB / 0.811 GB, free: 20.24 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/1.31, allocations: 1.687 MB / 0.8126 GB, free: 18.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/1.311, allocations: 183.3 kB / 0.8128 GB, free: 18.24 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/1.311, allocations: 77.23 kB / 0.8129 GB, free: 18.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/1.311, allocations: 8.172 kB / 0.8129 GB, free: 18.15 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/1.311, allocations: 38.73 kB / 0.8129 GB, free: 18.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=21): time 1.292e-06/1.311, allocations: 0 / 0.8129 GB, free: 18.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.002201/1.313, allocations: 0.8954 MB / 0.8138 GB, free: 17.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/1.313, allocations: 55.41 kB / 0.8139 GB, free: 17.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/1.313, allocations: 242.8 kB / 0.8141 GB, free: 16.85 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/1.313, allocations: 29.7 kB / 0.8141 GB, free: 16.81 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/1.314, allocations: 176 kB / 0.8143 GB, free: 16.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/1.314, allocations: 90.66 kB / 0.8144 GB, free: 16.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.688e-05/1.314, allocations: 8 kB / 0.8144 GB, free: 16.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.525e-05/1.314, allocations: 338.8 kB / 0.8147 GB, free: 16.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/1.314, allocations: 88 kB / 0.8148 GB, free: 16.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/1.314, allocations: 169.4 kB / 0.815 GB, free: 15.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/1.314, allocations: 111.9 kB / 0.8151 GB, free: 15.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/1.314, allocations: 0 / 0.8151 GB, free: 15.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007679/1.315, allocations: 425.8 kB / 0.8155 GB, free: 15.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.315, allocations: 4 kB / 0.8155 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.315, allocations: 4 kB / 0.8155 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000464/1.315, allocations: 125 kB / 0.8156 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/1.316, allocations: 63.84 kB / 0.8157 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/1.318, allocations: 2.008 MB / 0.8176 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/1.318, allocations: 32.05 kB / 0.8176 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/1.318, allocations: 15.98 kB / 0.8177 GB, free: 12.99 MB / 490.7 MB 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 9.281e-05/1.318, allocations: 121 kB / 0.8178 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-05/1.318, allocations: 27.72 kB / 0.8178 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.371e-05/1.319, allocations: 30.86 kB / 0.8178 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/1.319, allocations: 4 kB / 0.8178 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/1.319, allocations: 7.953 kB / 0.8178 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000687/1.319, allocations: 0.6097 MB / 0.8184 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/1.32, allocations: 0.787 MB / 0.8192 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/1.32, allocations: 4 kB / 0.8192 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/1.321, allocations: 43.91 kB / 0.8193 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005209/1.321, allocations: 132.7 kB / 0.8194 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/1.321, allocations: 8 kB / 0.8194 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/1.323, allocations: 1.893 MB / 0.8212 GB, free: 9.027 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/1.323, allocations: 0 / 0.8212 GB, free: 9.027 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007743/1.324, allocations: 0.5806 MB / 0.8218 GB, free: 8.391 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.51e-05/1.324, allocations: 108.8 kB / 0.8219 GB, free: 8.266 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/1.324, allocations: 11.95 kB / 0.8219 GB, free: 8.254 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/1.324, allocations: 27.92 kB / 0.8219 GB, free: 8.227 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/1.324, allocations: 27.97 kB / 0.822 GB, free: 8.199 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/1.324, allocations: 15.98 kB / 0.822 GB, free: 8.184 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001548/1.324, allocations: 183.1 kB / 0.8222 GB, free: 8.004 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.324, allocations: 0 / 0.8222 GB, free: 8.004 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005767/1.325, allocations: 112 kB / 0.8223 GB, free: 7.895 MB / 490.7 MB 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.0002651/1.325, allocations: 171.8 kB / 0.8224 GB, free: 7.719 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006187/1.326, allocations: 374.9 kB / 0.8228 GB, free: 7.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.326, allocations: 4.062 kB / 0.8228 GB, free: 7.336 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004677/1.326, allocations: 286.1 kB / 0.8231 GB, free: 7.043 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007903/1.327, allocations: 152.6 kB / 0.8232 GB, free: 6.891 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008146/1.328, allocations: 463.7 kB / 0.8237 GB, free: 6.395 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/1.328, allocations: 0.7687 MB / 0.8244 GB, free: 5.602 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002551/1.329, allocations: 54.94 kB / 0.8245 GB, free: 5.551 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.007e-05/1.329, allocations: 23.44 kB / 0.8245 GB, free: 5.527 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/1.329, allocations: 7.938 kB / 0.8245 GB, free: 5.52 MB / 490.7 MB Notification: Performance of Templates: time 0.01094/1.34, allocations: 7.051 MB / 0.8314 GB, free: 14.49 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)