Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002796/0.002796, allocations: 187 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.806/3.806, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 106.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005958/0.0005959, allocations: 16 kB / 327 MB, free: 15.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1289, allocations: 47.58 MB / 374.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.3021/0.431, allocations: 27.26 MB / 401.8 MB, free: 8.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02261/0.4537, allocations: 13.36 MB / 415.2 MB, free: 15.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006018/0.4544, allocations: 6.219 kB / 415.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.4554, allocations: 228.4 kB / 415.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009877/0.4565, allocations: 248 kB / 415.6 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02107/0.4775, allocations: 4.528 MB / 420.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.479, allocations: 0.5566 MB / 420.7 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.4793, allocations: 75.91 kB / 420.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009926/0.4892, allocations: 3.259 MB / 424.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000427/0.4897, allocations: 187.5 kB / 424.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.281e-05/0.4898, allocations: 18.94 kB / 424.3 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009498/0.4993, allocations: 3.405 MB / 427.7 MB, free: 7.598 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.4996, allocations: 79.72 kB / 427.7 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003204/0.4999, allocations: 109.5 kB / 427.8 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004224/0.5041, allocations: 1.633 MB / 429.5 MB, free: 5.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5042, allocations: 0 / 429.5 MB, free: 5.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5042, allocations: 0 / 429.5 MB, free: 5.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.5042, allocations: 0 / 429.5 MB, free: 5.77 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002048/0.5063, allocations: 0.7446 MB / 430.2 MB, free: 4.977 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.5064, allocations: 8.031 kB / 430.2 MB, free: 4.969 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009868/0.5074, allocations: 87.48 kB / 430.3 MB, free: 4.883 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005697/0.5079, allocations: 298.5 kB / 430.6 MB, free: 4.551 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.508, allocations: 20.66 kB / 430.6 MB, free: 4.531 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.948e-05/0.5081, allocations: 32 kB / 430.7 MB, free: 4.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.5093, allocations: 438.1 kB / 431.1 MB, free: 4.027 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/0.5093, allocations: 11.89 kB / 431.1 MB, free: 4.016 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.376e-05/0.5094, allocations: 12 kB / 431.1 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.5094, allocations: 8 kB / 431.1 MB, free: 3.996 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009555/0.5104, allocations: 321.9 kB / 431.4 MB, free: 3.68 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004126/0.5145, allocations: 2.626 MB / 434.1 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000831/0.5154, allocations: 238.6 kB / 434.3 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05704/0.5724, allocations: 15.59 MB / 449.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.5725, allocations: 38.5 kB / 449.9 MB, free: 15.13 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 3.907e-06/0.5725, allocations: 7.984 kB / 449.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=30): time 0.009135/0.5817, allocations: 1.316 MB / 451.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.136e-05/0.5818, allocations: 55.41 kB / 451.3 MB, free: 13.67 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006512/0.5825, allocations: 270.5 kB / 451.6 MB, free: 13.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.284e-05/0.5826, allocations: 33.7 kB / 451.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.5829, allocations: 258.4 kB / 451.9 MB, free: 13.1 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/0.5831, allocations: 106.4 kB / 452 MB, free: 13 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.932e-05/0.5831, allocations: 12 kB / 452 MB, free: 12.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.5833, allocations: 322.8 kB / 452.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005171/0.5839, allocations: 100.8 kB / 452.4 MB, free: 12.56 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006463/0.5845, allocations: 222.8 kB / 452.6 MB, free: 12.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006274/0.5852, allocations: 132 kB / 452.7 MB, free: 12.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.5852, allocations: 0 / 452.7 MB, free: 12.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00202/0.5872, allocations: 418.7 kB / 453.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.5873, allocations: 8 kB / 453.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.5873, allocations: 4 kB / 453.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006325/0.5937, allocations: 277.8 kB / 453.4 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/0.5943, allocations: 75.91 kB / 453.5 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.5963, allocations: 1.881 MB / 455.4 MB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004549/0.5968, allocations: 32.14 kB / 455.4 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.5969, allocations: 16 kB / 455.4 MB, free: 9.293 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00028/0.5972, allocations: 169.6 kB / 455.6 MB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.16e-05/0.5973, allocations: 31.67 kB / 455.6 MB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/0.599, allocations: 0.9397 MB / 456.6 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/0.5991, allocations: 11.98 kB / 456.6 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.5991, allocations: 4 kB / 456.6 MB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001508/0.6006, allocations: 1.127 MB / 457.7 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/0.6034, allocations: 1.584 MB / 459.3 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.6034, allocations: 0.875 kB / 459.3 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000403/0.6039, allocations: 51.97 kB / 459.3 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002947/0.6068, allocations: 296 kB / 459.6 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.6069, allocations: 4 kB / 459.6 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007496/0.6076, allocations: 0.6733 MB / 460.3 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.6077, allocations: 7.953 kB / 460.3 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/0.6095, allocations: 0.9569 MB / 461.3 MB, free: 3.207 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.6097, allocations: 136.5 kB / 461.4 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-05/0.6098, allocations: 4 kB / 461.4 MB, free: 3.051 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003825/0.6102, allocations: 12 kB / 461.4 MB, free: 3.039 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.6103, allocations: 27.92 kB / 461.4 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.6103, allocations: 7.984 kB / 461.5 MB, free: 3.004 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003817/0.6107, allocations: 243.1 kB / 461.7 MB, free: 2.766 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6108, allocations: 0 / 461.7 MB, free: 2.766 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001968/0.6127, allocations: 0.492 MB / 462.2 MB, free: 2.273 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002697/0.6154, allocations: 0.5113 MB / 462.7 MB, free: 1.754 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.6168, allocations: 0.5229 MB / 463.2 MB, free: 1.223 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.6168, allocations: 0 / 463.2 MB, free: 1.223 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006958/0.6175, allocations: 292.4 kB / 463.5 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.6193, allocations: 184.8 kB / 463.7 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.6216, allocations: 1.245 MB / 464.9 MB, free: 15.47 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.6221, allocations: 0.8325 MB / 465.8 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.6222, allocations: 35.44 kB / 465.8 MB, free: 14.58 MB / 346.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6222, allocations: 0 / 465.8 MB, free: 14.58 MB / 346.7 MB Notification: Performance of Templates: time 0.03555/0.6578, allocations: 16.47 MB / 482.3 MB, free: 14.09 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)