Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.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.Fluid.TestPipesAndValves.LumpedPipeInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_LumpedPipeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_LumpedPipeInitialization",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.001293/0.001293, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.438/1.438, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009844/0.0009844, allocations: 98.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1917/0.1917, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003095, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1201, allocations: 58.86 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.776/5.896, allocations: 2.822 GB / 3.301 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/5.896, allocations: 83.2 kB / 3.301 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.991/8.887, allocations: 0.7464 GB / 4.047 GB, free: 48.75 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.214e-06/8.887, allocations: 0 / 4.047 GB, free: 48.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000193/8.888, allocations: 34.53 kB / 4.047 GB, free: 48.75 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.01416/8.902, allocations: 2.923 MB / 4.05 GB, free: 47.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/8.902, allocations: 9.156 kB / 4.05 GB, free: 47.25 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008613/8.903, allocations: 153.1 kB / 4.05 GB, free: 47.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004089/8.907, allocations: 481.4 kB / 4.051 GB, free: 47.14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004223/8.911, allocations: 1.149 MB / 4.052 GB, free: 46.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002534/8.911, allocations: 145.1 kB / 4.052 GB, free: 46.72 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005963/8.912, allocations: 98.09 kB / 4.052 GB, free: 46.71 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005365/8.917, allocations: 1.885 MB / 4.054 GB, free: 46.36 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.146e-05/8.917, allocations: 7.438 kB / 4.054 GB, free: 46.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002585/8.918, allocations: 44.14 kB / 4.054 GB, free: 46.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001325/8.918, allocations: 76.97 kB / 4.054 GB, free: 46.36 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004492/8.922, allocations: 1.782 MB / 4.056 GB, free: 46.24 MB / 0.5261 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.01352/8.936, allocations: 8.549 MB / 4.064 GB, free: 39.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003212/8.939, allocations: 1.4 MB / 4.065 GB, free: 39.15 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1186/9.058, allocations: 63.25 MB / 4.127 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002649/9.06, allocations: 0.8917 MB / 4.128 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=82): time 7.514e-06/9.061, allocations: 0 / 4.128 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of matching and sorting (n=86): time 0.01252/9.073, allocations: 4.62 MB / 4.133 GB, free: 5.543 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002464/9.073, allocations: 418.1 kB / 4.133 GB, free: 5.047 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/9.075, allocations: 0.9278 MB / 4.134 GB, free: 4.23 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/9.075, allocations: 49.7 kB / 4.134 GB, free: 4.176 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004733/9.075, allocations: 0.5636 MB / 4.134 GB, free: 3.656 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/9.076, allocations: 300.7 kB / 4.135 GB, free: 3.391 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.663e-05/9.076, allocations: 24 kB / 4.135 GB, free: 3.367 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001792/9.076, allocations: 355.8 kB / 4.135 GB, free: 3.031 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/9.077, allocations: 0.5383 MB / 4.136 GB, free: 2.566 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/9.079, allocations: 1.003 MB / 4.137 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/9.08, allocations: 0.6992 MB / 4.137 GB, free: 0.793 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/9.08, allocations: 4 kB / 4.137 GB, free: 0.7891 MB / 0.5417 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.3759/9.456, allocations: 1.925 MB / 4.139 GB, free: 64.51 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.00123/9.457, allocations: 5.401 MB / 4.144 GB, free: 58.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.468e-05/9.457, allocations: 13.94 kB / 4.144 GB, free: 58.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006392/9.464, allocations: 1.133 MB / 4.146 GB, free: 58.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/9.465, allocations: 249.1 kB / 4.146 GB, free: 58.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/9.467, allocations: 1.504 MB / 4.147 GB, free: 58.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/9.469, allocations: 126.9 kB / 4.147 GB, free: 58.37 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/9.469, allocations: 64.75 kB / 4.147 GB, free: 58.37 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/9.469, allocations: 7 kB / 4.147 GB, free: 58.37 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003361/9.472, allocations: 1.68 MB / 4.149 GB, free: 58.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/9.472, allocations: 13.66 kB / 4.149 GB, free: 58.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001574/9.474, allocations: 389.7 kB / 4.149 GB, free: 58.33 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/9.475, allocations: 279.7 kB / 4.15 GB, free: 58.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/9.476, allocations: 1.059 MB / 4.151 GB, free: 57.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/9.477, allocations: 129.6 kB / 4.151 GB, free: 57.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/9.477, allocations: 66.64 kB / 4.151 GB, free: 57.8 MB / 0.5417 GB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 19 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.staticPipe2.flowModel.states[2].phase,pipe.staticPipe2.flowModel.states[1].phase,pipe.staticPipe1.flowModel.states[2].phase,pipe.staticPipe1.flowModel.states[1].phase,pipe.volume.regularFlow[1],pipe.volume.regularFlow[2],pipe.volume.inFlow[2],pipe.volume.inFlow[1],pipe.volume.heatTransfer.states[1].phase,sink.state.phase,sink.medium.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 35} Notification: Performance of prepare postOptimizeDAE: time 0.0009614/9.478, allocations: 473.8 kB / 4.151 GB, free: 57.62 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/9.479, allocations: 125 kB / 4.152 GB, free: 57.61 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006395/9.485, allocations: 4.066 MB / 4.155 GB, free: 57.34 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-05/9.485, allocations: 49.16 kB / 4.156 GB, free: 57.34 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/9.485, allocations: 2.594 kB / 4.156 GB, free: 57.34 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/9.485, allocations: 4.609 kB / 4.156 GB, free: 57.34 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00991/9.495, allocations: 5.542 MB / 4.161 GB, free: 56.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/9.495, allocations: 2.641 kB / 4.161 GB, free: 56.76 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000784/9.496, allocations: 174.2 kB / 4.161 GB, free: 56.76 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007285/9.503, allocations: 1.557 MB / 4.163 GB, free: 56.71 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001665/9.503, allocations: 28.27 kB / 4.163 GB, free: 56.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/9.506, allocations: 2.094 MB / 4.165 GB, free: 55.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/9.506, allocations: 2.125 kB / 4.165 GB, free: 55.65 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005948/9.512, allocations: 3.993 MB / 4.169 GB, free: 55.07 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/9.513, allocations: 0.5325 MB / 4.169 GB, free: 54.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/9.513, allocations: 24.58 kB / 4.169 GB, free: 54.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009606/9.514, allocations: 94.67 kB / 4.169 GB, free: 54.86 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/9.514, allocations: 82.58 kB / 4.169 GB, free: 54.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.336e-05/9.514, allocations: 39.09 kB / 4.169 GB, free: 54.86 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001675/9.516, allocations: 1.054 MB / 4.17 GB, free: 54.75 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/9.516, allocations: 0 / 4.17 GB, free: 54.75 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01002/9.526, allocations: 2.064 MB / 4.172 GB, free: 54.75 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (pipe.volume.medium.p,pipe.volume.medium.h) * Number of discrete variables: 25 ($cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse19.phase,$cse19.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$whenCondition2,$whenCondition1,pipe.volume.heatTransfer.states[1].phase,m_flow_initial,$cse3.phase,$cse3.region,source.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 1 * 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 {1 1,1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.01738/9.544, allocations: 6.786 MB / 4.179 GB, free: 53.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00591/9.549, allocations: 2.473 MB / 4.181 GB, free: 53.06 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/9.55, allocations: 0 / 4.181 GB, free: 53.06 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001674/9.551, allocations: 1.05 MB / 4.182 GB, free: 53.05 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003477/9.555, allocations: 0.6202 MB / 4.183 GB, free: 53.04 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/9.57, allocations: 15.44 MB / 4.198 GB, free: 41.07 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/9.571, allocations: 1.474 MB / 4.2 GB, free: 40.35 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002591/9.574, allocations: 0.9851 MB / 4.201 GB, free: 40.33 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/9.575, allocations: 0.7116 MB / 4.201 GB, free: 40.32 MB / 0.5417 GB Notification: Performance of SimCode: time 2.144e-06/9.575, allocations: 0 / 4.201 GB, free: 40.32 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1438/9.719, allocations: 83.53 MB / 4.283 GB, free: 36.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/9.719, allocations: 273.1 kB / 4.283 GB, free: 36.16 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.224/14.94, allocations: 0 / 4.283 GB, free: 36.16 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_LumpedPipeInitialization_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_LumpedPipeInitialization.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization_res.mat does not exist to compare? outputFormat=mat