Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_cpp_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 3.2.3+maint.om/package.mo): time 0.002276/0.002276, allocations: 185.4 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.215/2.215, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001222/0.001221, allocations: 96.25 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5408/0.5408, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006892/0.0006892, allocations: 16 kB / 431.5 MB, free: 6.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1445, allocations: 58.84 MB / 490.3 MB, free: 11.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.548/8.693, allocations: 2.796 GB / 3.274 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003527/8.693, allocations: 95.75 kB / 3.275 GB, free: 19.59 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.111/11.8, allocations: 0.4946 GB / 3.769 GB, free: 46.76 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.146e-06/11.8, allocations: 0 / 3.769 GB, free: 46.76 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.44e-05/11.8, allocations: 18.84 kB / 3.769 GB, free: 46.76 MB / 0.5105 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.009705/11.81, allocations: 1.842 MB / 3.771 GB, free: 45.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/11.81, allocations: 12 kB / 3.771 GB, free: 45.96 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005184/11.82, allocations: 113.1 kB / 3.771 GB, free: 45.92 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003904/11.82, allocations: 320.7 kB / 3.771 GB, free: 45.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/11.82, allocations: 0.5952 MB / 3.772 GB, free: 45.64 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/11.82, allocations: 121.5 kB / 3.772 GB, free: 45.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002476/11.82, allocations: 59.41 kB / 3.772 GB, free: 45.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004371/11.83, allocations: 1.212 MB / 3.773 GB, free: 45.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.582e-05/11.83, allocations: 2.625 kB / 3.773 GB, free: 45.27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/11.83, allocations: 37.45 kB / 3.773 GB, free: 45.27 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-05/11.83, allocations: 47.58 kB / 3.773 GB, free: 45.27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00454/11.83, allocations: 1.046 MB / 3.774 GB, free: 45.26 MB / 0.5105 GB 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.01035/11.84, allocations: 5.626 MB / 3.78 GB, free: 41.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003866/11.85, allocations: 0.7907 MB / 3.781 GB, free: 41.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05014/11.9, allocations: 15.73 MB / 3.796 GB, free: 32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/11.9, allocations: 41.12 kB / 3.796 GB, free: 31.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 2.735e-06/11.9, allocations: 0 / 3.796 GB, free: 31.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49): time 0.01135/11.91, allocations: 2.368 MB / 3.798 GB, free: 31.47 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/11.91, allocations: 164.5 kB / 3.799 GB, free: 31.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009926/11.91, allocations: 0.531 MB / 3.799 GB, free: 31.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001412/11.91, allocations: 35.67 kB / 3.799 GB, free: 31.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/11.91, allocations: 418.5 kB / 3.8 GB, free: 30.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/11.91, allocations: 176.5 kB / 3.8 GB, free: 30.73 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.991e-05/11.91, allocations: 15.75 kB / 3.8 GB, free: 30.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.057e-05/11.91, allocations: 339.8 kB / 3.8 GB, free: 30.42 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/11.91, allocations: 289.8 kB / 3.8 GB, free: 30.42 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/11.91, allocations: 0.6159 MB / 3.801 GB, free: 30.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/11.91, allocations: 380.4 kB / 3.801 GB, free: 30.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/11.91, allocations: 3.969 kB / 3.801 GB, free: 30.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003184/11.92, allocations: 0.9375 MB / 3.802 GB, free: 29.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/11.92, allocations: 11.44 kB / 3.802 GB, free: 29.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/11.92, allocations: 11.62 kB / 3.802 GB, free: 29.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004685/11.92, allocations: 72.88 kB / 3.802 GB, free: 29.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002581/11.92, allocations: 308.9 kB / 3.803 GB, free: 29.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/11.92, allocations: 1.982 MB / 3.805 GB, free: 28.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/11.92, allocations: 85.06 kB / 3.805 GB, free: 28.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/11.92, allocations: 40.28 kB / 3.805 GB, free: 28.1 MB / 0.5105 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 () * Number of clocked 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.0006334/11.92, allocations: 283.8 kB / 3.805 GB, free: 27.97 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/11.92, allocations: 74.83 kB / 3.805 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004825/11.93, allocations: 2.609 MB / 3.808 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.56e-05/11.93, allocations: 42.8 kB / 3.808 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/11.93, allocations: 0 / 3.808 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/11.93, allocations: 0 / 3.808 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006991/11.94, allocations: 3.791 MB / 3.811 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/11.94, allocations: 0 / 3.811 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002166/11.94, allocations: 242.5 kB / 3.812 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006235/11.94, allocations: 93.23 kB / 3.812 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.827e-05/11.94, allocations: 12.5 kB / 3.812 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/11.94, allocations: 2.004 MB / 3.814 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/11.94, allocations: 3.719 kB / 3.814 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004688/11.95, allocations: 2.38 MB / 3.816 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000796/11.95, allocations: 334.1 kB / 3.816 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/11.95, allocations: 14.67 kB / 3.816 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/11.95, allocations: 57.64 kB / 3.816 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/11.95, allocations: 56.47 kB / 3.816 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.619e-05/11.95, allocations: 21.97 kB / 3.816 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001074/11.95, allocations: 0.5525 MB / 3.817 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.61e-07/11.95, allocations: 0 / 3.817 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006415/11.96, allocations: 1.134 MB / 3.818 GB, free: 24.48 MB / 0.5105 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 () * Number of clocked 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.0174/11.97, allocations: 4.46 MB / 3.822 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003838/11.98, allocations: 1.09 MB / 3.823 GB, free: 39.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/11.98, allocations: 0 / 3.823 GB, free: 39.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002437/11.98, allocations: 0.7989 MB / 3.824 GB, free: 38.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003374/11.98, allocations: 367.2 kB / 3.825 GB, free: 38.89 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02087/12, allocations: 13.41 MB / 3.838 GB, free: 28.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009829/12, allocations: 1.182 MB / 3.839 GB, free: 27.87 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008714/12.01, allocations: 447.9 kB / 3.839 GB, free: 27.52 MB / 0.5261 GB Notification: Performance of SimCode: time 1.463e-06/12.01, allocations: 0 / 3.839 GB, free: 27.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.09/16.1, allocations: 46.2 MB / 3.884 GB, free: 23.48 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat