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/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: "" <> 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/Complex 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 175.7 kB / 8.699 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.3 MB / 214.4 MB, free: 1.68 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009015/0.0009017, allocations: 86.7 kB / 262.5 MB, free: 1.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.903e-05/1.905e-05, allocations: 4 kB / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1168, allocations: 47.58 MB / 363.2 MB, free: 6.961 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.894/6.011, allocations: 2.74 GB / 3.094 GB, free: 116.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/6.011, allocations: 97.66 kB / 3.094 GB, free: 116.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8732/6.885, allocations: 292.2 MB / 3.38 GB, free: 3.488 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/6.885, allocations: 0 / 3.38 GB, free: 3.488 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.527e-05/6.885, allocations: 8 kB / 3.38 GB, free: 3.48 MB / 426.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.0032/6.888, allocations: 0.916 MB / 3.381 GB, free: 2.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/6.888, allocations: 8.031 kB / 3.381 GB, free: 2.512 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008207/6.889, allocations: 88.52 kB / 3.381 GB, free: 2.426 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/6.889, allocations: 298.4 kB / 3.381 GB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/6.889, allocations: 12 kB / 3.381 GB, free: 2.086 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.86e-05/6.889, allocations: 19.91 kB / 3.381 GB, free: 2.066 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003682/6.89, allocations: 241.4 kB / 3.381 GB, free: 1.828 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004599/6.89, allocations: 346.4 kB / 3.382 GB, free: 1.445 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/6.89, allocations: 4 kB / 3.382 GB, free: 1.441 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/6.89, allocations: 0 / 3.382 GB, free: 1.441 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/6.89, allocations: 12 kB / 3.382 GB, free: 1.43 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.3524/7.243, allocations: 17.75 MB / 3.399 GB, free: 45.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/7.243, allocations: 192.8 kB / 3.399 GB, free: 45.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/7.243, allocations: 85.88 kB / 3.399 GB, free: 45.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0315/7.275, allocations: 15.38 MB / 3.414 GB, free: 36.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/7.275, allocations: 42.86 kB / 3.414 GB, free: 36.65 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.715e-06/7.275, allocations: 0 / 3.414 GB, free: 36.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.004279/7.279, allocations: 1.131 MB / 3.415 GB, free: 36.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/7.279, allocations: 57.09 kB / 3.415 GB, free: 36.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/7.279, allocations: 211.6 kB / 3.416 GB, free: 36.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/7.279, allocations: 29.59 kB / 3.416 GB, free: 36.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/7.28, allocations: 202.8 kB / 3.416 GB, free: 36.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.418e-05/7.28, allocations: 100.2 kB / 3.416 GB, free: 35.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.391e-05/7.28, allocations: 6.531 kB / 3.416 GB, free: 35.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.277e-05/7.28, allocations: 337.5 kB / 3.416 GB, free: 35.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/7.28, allocations: 87.56 kB / 3.416 GB, free: 35.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/7.28, allocations: 200.2 kB / 3.416 GB, free: 35.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008211/7.281, allocations: 224 kB / 3.417 GB, free: 35.53 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/7.281, allocations: 0 / 3.417 GB, free: 35.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001239/7.282, allocations: 488.4 kB / 3.417 GB, free: 35.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/7.282, allocations: 5.656 kB / 3.417 GB, free: 35.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/7.282, allocations: 3.406 kB / 3.417 GB, free: 35.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000257/7.282, allocations: 69.77 kB / 3.417 GB, free: 35.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/7.283, allocations: 84.22 kB / 3.417 GB, free: 35.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/7.284, allocations: 1.913 MB / 3.419 GB, free: 33.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/7.285, allocations: 23.69 kB / 3.419 GB, free: 33.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/7.285, allocations: 19.66 kB / 3.419 GB, free: 33.73 MB / 426.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 () * 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.0001042/7.285, allocations: 115.5 kB / 3.419 GB, free: 33.63 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001023/7.286, allocations: 385.2 kB / 3.42 GB, free: 33.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/7.286, allocations: 26.28 kB / 3.42 GB, free: 33.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/7.287, allocations: 0.8192 MB / 3.421 GB, free: 33.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/7.287, allocations: 11.05 kB / 3.421 GB, free: 33.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/7.287, allocations: 0 / 3.421 GB, free: 33.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008722/7.288, allocations: 1.031 MB / 3.422 GB, free: 32.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/7.29, allocations: 1.392 MB / 3.423 GB, free: 32.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/7.29, allocations: 0 / 3.423 GB, free: 32.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/7.29, allocations: 47.81 kB / 3.423 GB, free: 32.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002443/7.29, allocations: 96.78 kB / 3.423 GB, free: 32.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/7.29, allocations: 6.672 kB / 3.423 GB, free: 32.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004912/7.291, allocations: 0.7143 MB / 3.424 GB, free: 32.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/7.291, allocations: 3.438 kB / 3.424 GB, free: 32.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/7.292, allocations: 0.908 MB / 3.425 GB, free: 31.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/7.292, allocations: 112.9 kB / 3.425 GB, free: 31.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/7.292, allocations: 0 / 3.425 GB, free: 31.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/7.292, allocations: 17.27 kB / 3.425 GB, free: 31.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/7.292, allocations: 18.17 kB / 3.425 GB, free: 31.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/7.292, allocations: 17.3 kB / 3.425 GB, free: 31.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001412/7.292, allocations: 156.4 kB / 3.425 GB, free: 31.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/7.292, allocations: 6.125 kB / 3.425 GB, free: 31.65 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003001/7.295, allocations: 0.5099 MB / 3.425 GB, free: 31.65 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * 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.003964/7.299, allocations: 2.362 MB / 3.428 GB, free: 30.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007439/7.3, allocations: 490.2 kB / 3.428 GB, free: 30.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/7.3, allocations: 0 / 3.428 GB, free: 30.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000335/7.3, allocations: 274.5 kB / 3.428 GB, free: 30.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000777/7.301, allocations: 140.2 kB / 3.429 GB, free: 30.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/7.303, allocations: 0.8995 MB / 3.429 GB, free: 30.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/7.303, allocations: 0.8198 MB / 3.43 GB, free: 29.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002965/7.303, allocations: 137.3 kB / 3.43 GB, free: 29.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/7.304, allocations: 129.5 kB / 3.431 GB, free: 29.77 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/7.304, allocations: 0 / 3.431 GB, free: 29.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05549/7.359, allocations: 21.93 MB / 3.452 GB, free: 28.59 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/7.359, allocations: 162.7 kB / 3.452 GB, free: 28.39 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.672/10.03, allocations: 2.094 kB / 3.452 GB, free: 28.39 MB / 426.7 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) 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