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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008014/0.008014, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001284/0.001284, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.555/1.555, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2656/0.2656, allocations: 54.97 MB / 324.9 MB, free: 4.848 MB / 270.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.001506/0.001506, allocations: 71.91 kB / 456.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1595, allocations: 59.6 MB / 0.5038 GB, free: 7.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation): time 0.02119/0.1808, allocations: 15.14 MB / 0.5186 GB, free: 7.812 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003411/0.1842, allocations: 2.116 MB / 0.5206 GB, free: 5.691 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.1844, allocations: 8 kB / 0.5206 GB, free: 5.684 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007399/0.1853, allocations: 182.9 kB / 0.5208 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000812/0.1861, allocations: 322.2 kB / 0.5211 GB, free: 5.188 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000825/0.1869, allocations: 310.9 kB / 0.5214 GB, free: 4.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.1882, allocations: 0.8017 MB / 0.5222 GB, free: 4.082 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002676/0.1885, allocations: 100.6 kB / 0.5223 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/0.1898, allocations: 0.4942 MB / 0.5228 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005269/0.1903, allocations: 258.9 kB / 0.523 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.812e-05/0.1904, allocations: 28 kB / 0.523 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004258/0.1908, allocations: 119.9 kB / 0.5232 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.191, allocations: 87.78 kB / 0.5232 GB, free: 3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003626/0.1914, allocations: 187.2 kB / 0.5234 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007201/0.1921, allocations: 466.4 kB / 0.5239 GB, free: 2.359 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1921, allocations: 0 / 0.5239 GB, free: 2.359 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1921, allocations: 0 / 0.5239 GB, free: 2.359 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.1921, allocations: 3.984 kB / 0.5239 GB, free: 2.355 MB / 414.1 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.001033/0.1932, allocations: 0.58 MB / 0.5244 GB, free: 1.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1932, allocations: 8.031 kB / 0.5244 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006792/0.1939, allocations: 80.69 kB / 0.5245 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006612/0.1946, allocations: 292.6 kB / 0.5248 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.1946, allocations: 16.94 kB / 0.5248 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.342e-05/0.1947, allocations: 24.38 kB / 0.5248 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008431/0.1955, allocations: 346.3 kB / 0.5252 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-05/0.1956, allocations: 3.984 kB / 0.5252 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.487e-05/0.1956, allocations: 12 kB / 0.5252 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.1957, allocations: 8 kB / 0.5252 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005573/0.1962, allocations: 221.5 kB / 0.5254 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3351/0.5313, allocations: 1.687 MB / 0.527 GB, free: 26.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.5318, allocations: 191.5 kB / 0.5272 GB, free: 26.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.532, allocations: 86.98 kB / 0.5273 GB, free: 26.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.532, allocations: 6.453 kB / 0.5273 GB, free: 26.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.532, allocations: 38.3 kB / 0.5274 GB, free: 26.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=21): time 3.226e-06/0.532, allocations: 0 / 0.5274 GB, free: 26.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.004476/0.5365, allocations: 1.26 MB / 0.5286 GB, free: 26.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.5366, allocations: 62.72 kB / 0.5286 GB, free: 26.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004907/0.5371, allocations: 269.4 kB / 0.5289 GB, free: 25.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.5371, allocations: 31.64 kB / 0.5289 GB, free: 25.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.5373, allocations: 180.7 kB / 0.5291 GB, free: 25.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.5374, allocations: 99.14 kB / 0.5292 GB, free: 25.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.5376, allocations: 71 kB / 0.5293 GB, free: 25.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.845e-05/0.5377, allocations: 337.9 kB / 0.5296 GB, free: 25.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.538, allocations: 101.2 kB / 0.5297 GB, free: 25.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.5383, allocations: 178.9 kB / 0.5299 GB, free: 25.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005642/0.5389, allocations: 294.6 kB / 0.5301 GB, free: 25.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5389, allocations: 5.062 kB / 0.5301 GB, free: 25.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001185/0.5401, allocations: 455.3 kB / 0.5306 GB, free: 25.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.5401, allocations: 5.5 kB / 0.5306 GB, free: 25.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.5402, allocations: 2.438 kB / 0.5306 GB, free: 25.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006375/0.5408, allocations: 134.5 kB / 0.5307 GB, free: 25.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.5412, allocations: 73.22 kB / 0.5308 GB, free: 25.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003218/0.5444, allocations: 2.241 MB / 0.533 GB, free: 23.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004716/0.5449, allocations: 22.92 kB / 0.533 GB, free: 23.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.5449, allocations: 13.83 kB / 0.533 GB, free: 23.68 MB / 414.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002183/0.5452, allocations: 149.5 kB / 0.5331 GB, free: 23.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.761e-05/0.5453, allocations: 28.19 kB / 0.5332 GB, free: 23.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.072e-05/0.5453, allocations: 37.03 kB / 0.5332 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.5454, allocations: 7.062 kB / 0.5332 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5454, allocations: 1.969 kB / 0.5332 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001086/0.5465, allocations: 0.635 MB / 0.5338 GB, free: 23.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.5481, allocations: 0.8189 MB / 0.5346 GB, free: 22.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5481, allocations: 1.406 kB / 0.5346 GB, free: 22.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.5483, allocations: 38.41 kB / 0.5347 GB, free: 22.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006687/0.549, allocations: 134.9 kB / 0.5348 GB, free: 22.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.549, allocations: 10.22 kB / 0.5348 GB, free: 22.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002713/0.5517, allocations: 2.16 MB / 0.5369 GB, free: 20.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.5517, allocations: 2.125 kB / 0.5369 GB, free: 20.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.553, allocations: 0.5574 MB / 0.5375 GB, free: 20.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.28e-05/0.5531, allocations: 107.1 kB / 0.5376 GB, free: 20.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.5531, allocations: 10 kB / 0.5376 GB, free: 20.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.5534, allocations: 8.578 kB / 0.5376 GB, free: 20.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.77e-05/0.5535, allocations: 23.62 kB / 0.5376 GB, free: 20.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.5535, allocations: 15.41 kB / 0.5376 GB, free: 20.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003117/0.5539, allocations: 194.8 kB / 0.5378 GB, free: 20.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5539, allocations: 0 / 0.5378 GB, free: 20.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006237/0.5545, allocations: 98.25 kB / 0.5379 GB, free: 20.05 MB / 414.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002296/0.5547, allocations: 128 kB / 0.538 GB, free: 19.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.5558, allocations: 423.1 kB / 0.5384 GB, free: 19.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.5558, allocations: 0 / 0.5384 GB, free: 19.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006738/0.5565, allocations: 301.6 kB / 0.5387 GB, free: 19.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.5575, allocations: 160.4 kB / 0.5389 GB, free: 19.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.5593, allocations: 0.6677 MB / 0.5395 GB, free: 19.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.5597, allocations: 0.772 MB / 0.5403 GB, free: 18.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003069/0.56, allocations: 50.45 kB / 0.5403 GB, free: 18.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.08e-05/0.5601, allocations: 25.7 kB / 0.5404 GB, free: 18.39 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5601, allocations: 0 / 0.5404 GB, free: 18.39 MB / 414.1 MB Notification: Performance of Templates: time 0.01734/0.5775, allocations: 7.199 MB / 0.5474 GB, free: 17.61 MB / 414.1 MB 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)