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.0008894/0.0008894, allocations: 178.7 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007327/0.0007328, allocations: 89.27 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004072, allocations: 8 kB / 327 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2941, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.04216/0.3363, allocations: 30.12 MB / 404.7 MB, free: 18.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01438/0.3507, allocations: 14.63 MB / 419.3 MB, free: 3.996 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002668/0.351, allocations: 4 kB / 419.3 MB, free: 3.992 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000615/0.3516, allocations: 214.8 kB / 419.5 MB, free: 3.781 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006585/0.3523, allocations: 334.2 kB / 419.9 MB, free: 3.453 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01176/0.3641, allocations: 4.46 MB / 424.3 MB, free: 14.99 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.3655, allocations: 1.188 MB / 425.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.3658, allocations: 81.02 kB / 425.6 MB, free: 13.72 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005099/0.3709, allocations: 3.298 MB / 428.9 MB, free: 10.42 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005079/0.3714, allocations: 286.8 kB / 429.2 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.135e-05/0.3715, allocations: 20 kB / 429.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00641/0.3779, allocations: 3.352 MB / 432.5 MB, free: 6.762 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.378, allocations: 79.72 kB / 432.6 MB, free: 6.684 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001512/0.3782, allocations: 105.5 kB / 432.7 MB, free: 6.574 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002337/0.3805, allocations: 1.645 MB / 434.4 MB, free: 4.926 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3805, allocations: 0 / 434.4 MB, free: 4.926 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3806, allocations: 0 / 434.4 MB, free: 4.926 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.3806, allocations: 0 / 434.4 MB, free: 4.926 MB / 314.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.001714/0.3823, allocations: 0.7485 MB / 435.1 MB, free: 4.129 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.3823, allocations: 11.97 kB / 435.1 MB, free: 4.117 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007081/0.3831, allocations: 87.47 kB / 435.2 MB, free: 4.031 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.3835, allocations: 290.5 kB / 435.5 MB, free: 3.707 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.3835, allocations: 28.61 kB / 435.5 MB, free: 3.676 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/0.3836, allocations: 32 kB / 435.5 MB, free: 3.645 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000814/0.3844, allocations: 450.1 kB / 436 MB, free: 3.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.3844, allocations: 3.938 kB / 436 MB, free: 3.156 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.3845, allocations: 12 kB / 436 MB, free: 3.145 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.3845, allocations: 8 kB / 436 MB, free: 3.137 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005882/0.3851, allocations: 313.9 kB / 436.3 MB, free: 2.828 MB / 314.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.00275/0.3879, allocations: 2.629 MB / 438.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005083/0.3884, allocations: 251.4 kB / 439.2 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.3886, allocations: 109.6 kB / 439.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02992/0.4185, allocations: 15.58 MB / 454.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.4186, allocations: 30.56 kB / 454.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 2.194e-06/0.4186, allocations: 0 / 454.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.004305/0.4229, allocations: 1.317 MB / 456.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.423, allocations: 55.41 kB / 456.3 MB, free: 12.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/0.4233, allocations: 270.5 kB / 456.5 MB, free: 12.44 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.4234, allocations: 29.7 kB / 456.6 MB, free: 12.4 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.4235, allocations: 199.9 kB / 456.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.832e-05/0.4236, allocations: 106.5 kB / 456.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.4236, allocations: 8 kB / 456.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.4238, allocations: 342.8 kB / 457.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.424, allocations: 92.84 kB / 457.3 MB, free: 11.65 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.4243, allocations: 226.8 kB / 457.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.4245, allocations: 128 kB / 457.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.4246, allocations: 7.938 kB / 457.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007662/0.4253, allocations: 426.6 kB / 458.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.4254, allocations: 11.94 kB / 458.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.4254, allocations: 4 kB / 458.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003091/0.4285, allocations: 269.9 kB / 458.4 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.4288, allocations: 79.89 kB / 458.4 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.4303, allocations: 1.883 MB / 460.3 MB, free: 8.414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.4305, allocations: 36.08 kB / 460.4 MB, free: 8.379 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.4306, allocations: 16 kB / 460.4 MB, free: 8.363 MB / 346.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.0001899/0.4308, allocations: 165.7 kB / 460.5 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.243e-05/0.4308, allocations: 31.62 kB / 460.6 MB, free: 8.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.4319, allocations: 0.9552 MB / 461.5 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.4319, allocations: 11.98 kB / 461.5 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.4319, allocations: 3.938 kB / 461.5 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001001/0.4329, allocations: 1.115 MB / 462.6 MB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.4348, allocations: 1.587 MB / 464.2 MB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.4348, allocations: 0 / 464.2 MB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.435, allocations: 51.97 kB / 464.3 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/0.4366, allocations: 295.8 kB / 464.6 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.4367, allocations: 8 kB / 464.6 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000501/0.4372, allocations: 0.6694 MB / 465.2 MB, free: 3.262 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4372, allocations: 0 / 465.2 MB, free: 3.262 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.4383, allocations: 0.953 MB / 466.2 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.4384, allocations: 136.4 kB / 466.3 MB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.4385, allocations: 8.109 kB / 466.3 MB, free: 2.125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.4387, allocations: 19.94 kB / 466.4 MB, free: 2.105 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.4387, allocations: 23.97 kB / 466.4 MB, free: 2.082 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.4388, allocations: 8 kB / 466.4 MB, free: 2.074 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002347/0.439, allocations: 235 kB / 466.6 MB, free: 1.848 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.439, allocations: 0 / 466.6 MB, free: 1.848 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001331/0.4404, allocations: 0.4959 MB / 467.1 MB, free: 1.352 MB / 346.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.001865/0.4422, allocations: 0.5106 MB / 467.6 MB, free: 0.832 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000819/0.4431, allocations: 0.5191 MB / 468.1 MB, free: 308 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4431, allocations: 4 kB / 468.2 MB, free: 304 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004154/0.4435, allocations: 292.4 kB / 468.4 MB, free: 12 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.4446, allocations: 188.8 kB / 468.6 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.4462, allocations: 1.259 MB / 469.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.4466, allocations: 0.8244 MB / 470.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.195e-05/0.4467, allocations: 39.42 kB / 470.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4467, allocations: 0 / 470.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of Templates: time 0.02011/0.4668, allocations: 15.09 MB / 485.8 MB, free: 14.55 MB / 378.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)