Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.25/1.25, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009185/0.0009185, allocations: 90.17 kB / 292.1 MB, free: 6.043 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1817/0.1817, allocations: 45.16 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/2.993e-05, allocations: 7.984 kB / 460.5 MB, free: 69.89 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09108/0.09113, allocations: 63.24 MB / 0.5115 GB, free: 6.672 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.732/5.823, allocations: 2.802 GB / 3.313 GB, free: 148.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/5.823, allocations: 93.7 kB / 3.313 GB, free: 148.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.461/7.284, allocations: 0.4984 GB / 3.811 GB, free: 69.04 MB / 0.5417 GB Notification: Performance of FrontEnd: time 8.01e-07/7.284, allocations: 0 / 3.811 GB, free: 69.04 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.485e-05/7.284, allocations: 18.81 kB / 3.811 GB, free: 69.04 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.005016/7.289, allocations: 1.774 MB / 3.813 GB, free: 68.25 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/7.289, allocations: 8.812 kB / 3.813 GB, free: 68.25 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/7.289, allocations: 107.9 kB / 3.813 GB, free: 68.21 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/7.291, allocations: 330.3 kB / 3.814 GB, free: 68.17 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/7.292, allocations: 0.5951 MB / 3.814 GB, free: 67.93 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.041e-05/7.292, allocations: 110.4 kB / 3.814 GB, free: 67.87 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.478e-05/7.292, allocations: 68.94 kB / 3.814 GB, free: 67.86 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/7.294, allocations: 1.205 MB / 3.816 GB, free: 67.55 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/7.294, allocations: 5.531 kB / 3.816 GB, free: 67.55 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.19e-05/7.294, allocations: 29.48 kB / 3.816 GB, free: 67.55 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.541e-05/7.294, allocations: 44.42 kB / 3.816 GB, free: 67.55 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/7.296, allocations: 0.9937 MB / 3.817 GB, free: 67.55 MB / 0.5417 GB 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.005096/7.301, allocations: 5.61 MB / 3.822 GB, free: 63.84 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/7.303, allocations: 0.7322 MB / 3.823 GB, free: 63.79 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003039/7.303, allocations: 257.5 kB / 3.823 GB, free: 63.77 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02688/7.33, allocations: 17.2 MB / 3.84 GB, free: 52.78 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/7.33, allocations: 44.09 kB / 3.84 GB, free: 52.74 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=45): time 2.214e-06/7.33, allocations: 0 / 3.84 GB, free: 52.74 MB / 0.5417 GB Notification: Performance of matching and sorting (n=49): time 0.00454/7.335, allocations: 2.027 MB / 3.842 GB, free: 52.09 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/7.335, allocations: 166.7 kB / 3.842 GB, free: 51.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005437/7.335, allocations: 0.5302 MB / 3.843 GB, free: 51.64 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/7.335, allocations: 33.27 kB / 3.843 GB, free: 51.61 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/7.335, allocations: 391.7 kB / 3.843 GB, free: 51.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.985e-05/7.336, allocations: 171 kB / 3.843 GB, free: 51.17 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/7.336, allocations: 15.94 kB / 3.843 GB, free: 51.16 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.78e-05/7.336, allocations: 376.3 kB / 3.843 GB, free: 50.82 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/7.336, allocations: 241.2 kB / 3.844 GB, free: 50.73 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004013/7.336, allocations: 0.5587 MB / 3.844 GB, free: 50.23 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/7.337, allocations: 335.4 kB / 3.845 GB, free: 50.12 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/7.337, allocations: 3.531 kB / 3.845 GB, free: 50.12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001055/7.338, allocations: 0.8809 MB / 3.845 GB, free: 49.82 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/7.338, allocations: 13.22 kB / 3.845 GB, free: 49.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/7.338, allocations: 11.25 kB / 3.845 GB, free: 49.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002218/7.338, allocations: 63.11 kB / 3.846 GB, free: 49.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/7.339, allocations: 308.7 kB / 3.846 GB, free: 49.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009461/7.34, allocations: 1.98 MB / 3.848 GB, free: 47.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006189/7.341, allocations: 88.14 kB / 3.848 GB, free: 47.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.312e-05/7.341, allocations: 42.31 kB / 3.848 GB, free: 47.83 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001339/7.341, allocations: 166.8 kB / 3.848 GB, free: 47.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/7.341, allocations: 69.78 kB / 3.848 GB, free: 47.64 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/7.343, allocations: 2.575 MB / 3.851 GB, free: 46.44 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/7.343, allocations: 38.16 kB / 3.851 GB, free: 46.43 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/7.343, allocations: 0 / 3.851 GB, free: 46.43 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/7.343, allocations: 5.438 kB / 3.851 GB, free: 46.43 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002882/7.346, allocations: 3.755 MB / 3.854 GB, free: 44.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/7.346, allocations: 3.969 kB / 3.854 GB, free: 44.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/7.347, allocations: 246.2 kB / 3.855 GB, free: 44.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002752/7.347, allocations: 79.23 kB / 3.855 GB, free: 44.56 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/7.347, allocations: 14.27 kB / 3.855 GB, free: 44.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008561/7.348, allocations: 2.003 MB / 3.857 GB, free: 42.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/7.348, allocations: 0 / 3.857 GB, free: 42.61 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/7.35, allocations: 2.236 MB / 3.859 GB, free: 41.48 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003613/7.35, allocations: 331.9 kB / 3.859 GB, free: 41.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.68e-05/7.351, allocations: 15.86 kB / 3.859 GB, free: 41.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005114/7.351, allocations: 60.86 kB / 3.859 GB, free: 41.21 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.24e-05/7.351, allocations: 46.41 kB / 3.859 GB, free: 41.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/7.351, allocations: 29.33 kB / 3.859 GB, free: 41.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005155/7.352, allocations: 0.5394 MB / 3.86 GB, free: 40.96 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/7.352, allocations: 0 / 3.86 GB, free: 40.96 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004093/7.356, allocations: 1.146 MB / 3.861 GB, free: 40.74 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007548/7.363, allocations: 4.323 MB / 3.865 GB, free: 38.79 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002016/7.365, allocations: 1.018 MB / 3.866 GB, free: 38.44 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/7.365, allocations: 0 / 3.866 GB, free: 38.44 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/7.367, allocations: 0.7618 MB / 3.867 GB, free: 38.11 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/7.368, allocations: 365.9 kB / 3.867 GB, free: 38.04 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005953/7.374, allocations: 2.474 MB / 3.87 GB, free: 37.01 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/7.375, allocations: 1.184 MB / 3.871 GB, free: 36.29 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008316/7.376, allocations: 443.9 kB / 3.871 GB, free: 36.27 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003816/7.376, allocations: 443.9 kB / 3.872 GB, free: 35.92 MB / 0.5417 GB Notification: Performance of SimCode: time 1.152e-06/7.376, allocations: 0 / 3.872 GB, free: 35.92 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07463/7.451, allocations: 55.53 MB / 3.926 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/7.451, allocations: 232.5 kB / 3.926 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.31/10.76, allocations: 3.75 kB / 3.926 GB, free: 11.97 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat