Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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) 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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001147, allocations: 95.97 kB / 16.93 MB, free: 5.984 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.001217/0.001217, allocations: 180.3 kB / 17.82 MB, free: 5.652 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.54/1.54, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.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: Performance of FrontEnd - loaded program: time 0.0004887/0.000489, allocations: 19.27 kB / 280.9 MB, free: 3.641 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1229, allocations: 47.59 MB / 328.4 MB, free: 3.98 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03166/0.1546, allocations: 27.26 MB / 355.7 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01678/0.1714, allocations: 13.36 MB / 369.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006858/0.1722, allocations: 4 kB / 369.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.1734, allocations: 227 kB / 369.3 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008512/0.1743, allocations: 255.3 kB / 369.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01738/0.1917, allocations: 4.527 MB / 374.1 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009768/0.1927, allocations: 0.5543 MB / 374.6 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.1929, allocations: 81.03 kB / 374.7 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005494/0.1984, allocations: 3.255 MB / 377.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.1986, allocations: 195.2 kB / 378.1 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.1987, allocations: 16 kB / 378.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1961/0.3948, allocations: 3.397 MB / 381.6 MB, free: 16.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.3951, allocations: 73.44 kB / 381.6 MB, free: 16.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002477/0.3953, allocations: 108.1 kB / 381.7 MB, free: 16.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003869/0.3992, allocations: 1.636 MB / 383.4 MB, free: 16.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.3992, allocations: 0 / 383.4 MB, free: 16.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3992, allocations: 1.25 kB / 383.4 MB, free: 16.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.3993, allocations: 0 / 383.4 MB, free: 16.68 MB / 318.1 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.002624/0.4019, allocations: 0.735 MB / 384.1 MB, free: 16.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.402, allocations: 11.95 kB / 384.1 MB, free: 16.16 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.029e-05/0.4021, allocations: 69.52 kB / 384.2 MB, free: 16.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.4031, allocations: 85.86 kB / 384.3 MB, free: 16.1 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.4036, allocations: 295.2 kB / 384.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/0.4036, allocations: 23.56 kB / 384.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/0.4037, allocations: 33.16 kB / 384.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008938/0.4046, allocations: 437.8 kB / 385 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.4046, allocations: 3.609 kB / 385 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.4047, allocations: 16.5 kB / 385.1 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.4047, allocations: 12.36 kB / 385.1 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006186/0.4053, allocations: 316.7 kB / 385.4 MB, free: 15.75 MB / 318.1 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.002396/0.4077, allocations: 2.63 MB / 388 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000553/0.4083, allocations: 255.1 kB / 388.3 MB, free: 13.65 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03239/0.4407, allocations: 15.59 MB / 403.8 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.924e-05/0.4408, allocations: 36.75 kB / 403.9 MB, free: 3.965 MB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 2.264e-06/0.4408, allocations: 0 / 403.9 MB, free: 3.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.004326/0.4451, allocations: 1.312 MB / 405.2 MB, free: 3.523 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.4452, allocations: 53.94 kB / 405.2 MB, free: 3.461 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.4454, allocations: 266.8 kB / 405.5 MB, free: 3.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.4455, allocations: 28.39 kB / 405.5 MB, free: 3.324 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.562e-05/0.4456, allocations: 201.5 kB / 405.7 MB, free: 3.188 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.354e-05/0.4456, allocations: 100.9 kB / 405.8 MB, free: 3.125 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.527e-05/0.4456, allocations: 13.12 kB / 405.8 MB, free: 3.121 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.056e-05/0.4457, allocations: 341.3 kB / 406.2 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.4459, allocations: 100.3 kB / 406.3 MB, free: 2.809 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.446, allocations: 221.5 kB / 406.5 MB, free: 2.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.4463, allocations: 137 kB / 406.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4463, allocations: 0 / 406.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006835/0.447, allocations: 436.1 kB / 407 MB, free: 2.578 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.447, allocations: 8.062 kB / 407.1 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.447, allocations: 2.188 kB / 407.1 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002995/0.45, allocations: 272.9 kB / 407.3 MB, free: 2.559 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.4503, allocations: 76.94 kB / 407.4 MB, free: 2.559 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.4519, allocations: 1.884 MB / 409.3 MB, free: 16.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.4522, allocations: 31.5 kB / 409.3 MB, free: 16.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.4523, allocations: 18.88 kB / 409.3 MB, free: 16.77 MB / 334.1 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.0001967/0.4525, allocations: 171.1 kB / 409.5 MB, free: 16.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.4525, allocations: 34.03 kB / 409.5 MB, free: 16.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.4536, allocations: 0.9477 MB / 410.5 MB, free: 16.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.4536, allocations: 12.77 kB / 410.5 MB, free: 16.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.4536, allocations: 1.625 kB / 410.5 MB, free: 16.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008363/0.4544, allocations: 1.118 MB / 411.6 MB, free: 16.03 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.4561, allocations: 1.588 MB / 413.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.4561, allocations: 0 / 413.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.4563, allocations: 55.52 kB / 413.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001594/0.4579, allocations: 298.3 kB / 413.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.458, allocations: 5.781 kB / 413.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004738/0.4584, allocations: 0.6662 MB / 414.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4585, allocations: 0 / 414.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.4595, allocations: 0.9573 MB / 415.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.4597, allocations: 141.7 kB / 415.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.861e-05/0.4597, allocations: 3.625 kB / 415.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.46, allocations: 23.27 kB / 415.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.46, allocations: 14.14 kB / 415.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.46, allocations: 14.36 kB / 415.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000247/0.4603, allocations: 234.6 kB / 415.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4603, allocations: 4 kB / 415.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003461/0.4638, allocations: 0.4905 MB / 416.1 MB, free: 14.55 MB / 334.1 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.003752/0.4675, allocations: 1.909 MB / 418 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009175/0.4684, allocations: 0.5286 MB / 418.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4685, allocations: 0 / 418.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003852/0.4689, allocations: 295.4 kB / 418.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.4699, allocations: 184.2 kB / 419 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004877/0.4748, allocations: 4.921 MB / 423.9 MB, free: 9.547 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.4752, allocations: 0.8345 MB / 424.7 MB, free: 8.695 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003758/0.4756, allocations: 113.1 kB / 424.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.4758, allocations: 145.4 kB / 425 MB, free: 8.547 MB / 334.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4758, allocations: 0 / 425 MB, free: 8.547 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04523/0.521, allocations: 22.63 MB / 447.6 MB, free: 1.996 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/0.5212, allocations: 223.7 kB / 447.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.499/3.02, allocations: 0 / 447.9 MB, free: 1.758 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat