Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.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.DynamicPipeInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeInitialization",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.001389/0.001389, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.683/1.683, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008811/0.0008812, allocations: 88.98 kB / 267.1 MB, free: 9.281 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.4248/0.4248, allocations: 43.46 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.603e-05/3.625e-05, allocations: 4 kB / 425.4 MB, free: 8.121 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1558, allocations: 58.83 MB / 484.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.372/8.528, allocations: 2.833 GB / 3.306 GB, free: 67.37 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003782/8.528, allocations: 76.61 kB / 3.306 GB, free: 67.29 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.651/11.18, allocations: 0.4914 GB / 3.798 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.164e-06/11.18, allocations: 3.094 kB / 3.798 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001703/11.18, allocations: 44.64 kB / 3.798 GB, free: 39.65 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: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.0176/11.2, allocations: 2.982 MB / 3.8 GB, free: 38.59 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.601e-05/11.2, allocations: 12 kB / 3.801 GB, free: 38.59 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001256/11.2, allocations: 279.1 kB / 3.801 GB, free: 38.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006203/11.2, allocations: 0.7081 MB / 3.801 GB, free: 38.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005901/11.21, allocations: 1.586 MB / 3.803 GB, free: 38.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/11.21, allocations: 164.9 kB / 3.803 GB, free: 38.09 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005284/11.21, allocations: 185.9 kB / 3.803 GB, free: 38.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00701/11.22, allocations: 3.532 MB / 3.807 GB, free: 37.63 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.646e-05/11.22, allocations: 9.938 kB / 3.807 GB, free: 37.63 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002453/11.22, allocations: 74.91 kB / 3.807 GB, free: 37.63 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001941/11.22, allocations: 169.7 kB / 3.807 GB, free: 37.62 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006215/11.22, allocations: 3.334 MB / 3.81 GB, free: 37.61 MB / 0.5105 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.0202/11.25, allocations: 14.13 MB / 3.824 GB, free: 29.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004769/11.25, allocations: 2.15 MB / 3.826 GB, free: 29.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/11.25, allocations: 1.083 MB / 3.827 GB, free: 29.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1441/11.4, allocations: 63.65 MB / 3.889 GB, free: 38.29 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005752/11.4, allocations: 1.687 MB / 3.891 GB, free: 38.16 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=154): time 1.073e-05/11.4, allocations: 4 kB / 3.891 GB, free: 38.15 MB / 0.5573 GB Notification: Performance of matching and sorting (n=174): time 0.02571/11.43, allocations: 8.135 MB / 3.899 GB, free: 36.54 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002396/11.43, allocations: 295 kB / 3.899 GB, free: 36.22 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003078/11.43, allocations: 1.178 MB / 3.9 GB, free: 36.04 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005882/11.43, allocations: 60.58 kB / 3.9 GB, free: 36.01 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001353/11.43, allocations: 0.8214 MB / 3.901 GB, free: 35.62 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001108/11.43, allocations: 0.5997 MB / 3.902 GB, free: 35.24 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003712/11.43, allocations: 44.91 kB / 3.902 GB, free: 35.24 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003145/11.43, allocations: 390.3 kB / 3.902 GB, free: 34.93 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002219/11.44, allocations: 1.151 MB / 3.903 GB, free: 34.92 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002738/11.44, allocations: 1.692 MB / 3.905 GB, free: 34.29 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002732/11.44, allocations: 1.38 MB / 3.906 GB, free: 34.23 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.049e-05/11.44, allocations: 3.312 kB / 3.906 GB, free: 34.23 MB / 0.5573 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.009188/11.45, allocations: 3.975 MB / 3.91 GB, free: 34.05 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.004128/11.46, allocations: 6.269 MB / 3.916 GB, free: 27.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.49e-05/11.46, allocations: 19.98 kB / 3.916 GB, free: 27.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01514/11.47, allocations: 3.465 MB / 3.92 GB, free: 27.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/11.47, allocations: 336.6 kB / 3.92 GB, free: 27.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009099/11.48, allocations: 3.811 MB / 3.924 GB, free: 26.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003665/11.49, allocations: 277.6 kB / 3.924 GB, free: 26.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000622/11.49, allocations: 107.1 kB / 3.924 GB, free: 26.75 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/11.49, allocations: 3.781 kB / 3.924 GB, free: 26.75 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007642/11.49, allocations: 3.583 MB / 3.928 GB, free: 26.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.011e-05/11.49, allocations: 15.84 kB / 3.928 GB, free: 26.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008155/11.5, allocations: 2.267 MB / 3.93 GB, free: 26.61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/11.5, allocations: 360 kB / 3.93 GB, free: 26.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00523/11.51, allocations: 3.108 MB / 3.933 GB, free: 26.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003635/11.51, allocations: 266 kB / 3.934 GB, free: 26 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007211/11.51, allocations: 108.7 kB / 3.934 GB, free: 26 MB / 0.5573 GB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = false ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 17 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.state_a.phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,pipe.statesFM[6].phase,sink.state.phase,sink.medium.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 165 * 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 {14 91} Notification: Performance of prepare postOptimizeDAE: time 0.001643/11.52, allocations: 234.4 kB / 3.934 GB, free: 25.88 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008702/11.52, allocations: 168.3 kB / 3.934 GB, free: 25.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/11.53, allocations: 6.761 MB / 3.941 GB, free: 24.69 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.016e-05/11.53, allocations: 74.73 kB / 3.941 GB, free: 24.67 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.642e-05/11.53, allocations: 2.906 kB / 3.941 GB, free: 24.67 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006904/11.53, allocations: 5.444 MB / 3.946 GB, free: 22.13 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01527/11.55, allocations: 9.465 MB / 3.955 GB, free: 18.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.357e-05/11.55, allocations: 7.453 kB / 3.955 GB, free: 18.22 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001873/11.55, allocations: 447.1 kB / 3.956 GB, free: 18.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001561/11.55, allocations: 439.9 kB / 3.956 GB, free: 18.05 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003162/11.55, allocations: 61.62 kB / 3.956 GB, free: 18.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00273/11.56, allocations: 3.214 MB / 3.959 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/11.56, allocations: 0 / 3.959 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/11.57, allocations: 6.737 MB / 3.966 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002138/11.57, allocations: 0.7768 MB / 3.967 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007946/11.57, allocations: 50.81 kB / 3.967 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002458/11.57, allocations: 215.5 kB / 3.967 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004414/11.57, allocations: 180.4 kB / 3.967 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002262/11.57, allocations: 69.3 kB / 3.967 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002471/11.58, allocations: 1.22 MB / 3.968 GB, free: 10.97 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.41e-07/11.58, allocations: 3.562 kB / 3.968 GB, free: 10.97 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01323/11.59, allocations: 2.371 MB / 3.971 GB, free: 8.648 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (pipe.mediums[1].p,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h,pipe.mediums[3].p,pipe.mediums[3].h,pipe.mediums[4].p,pipe.mediums[4].h,pipe.mediums[5].p,pipe.mediums[5].h) * Number of discrete variables: 39 ($cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.region3boundary,$cse14.region3boundary,$cse15.phase,$cse15.region,$cse16.region3boundary,$cse17.region3boundary,$cse18.phase,$cse18.region,$cse25.phase,$cse25.region,$cse31.phase,$cse31.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$whenCondition2,$whenCondition1,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,pipe.statesFM[6].phase,m_flow_initial,$cse3.phase,$cse3.region,source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02483/11.61, allocations: 9.529 MB / 3.98 GB, free: 208 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.4132/12.03, allocations: 5.538 MB / 3.985 GB, free: 83.65 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/12.03, allocations: 5.031 kB / 3.985 GB, free: 83.65 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004189/12.03, allocations: 2.276 MB / 3.988 GB, free: 83.64 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004576/12.04, allocations: 0.7912 MB / 3.988 GB, free: 83.63 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/12.05, allocations: 6.814 MB / 3.995 GB, free: 82.59 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001533/12.05, allocations: 2.059 MB / 3.997 GB, free: 81.84 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003968/12.06, allocations: 1.619 MB / 3.999 GB, free: 81.82 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001525/12.06, allocations: 1.129 MB / 4 GB, free: 81.81 MB / 0.5573 GB Notification: Performance of SimCode: time 1.473e-06/12.06, allocations: 4.375 kB / 4 GB, free: 81.81 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2033/12.26, allocations: 112.1 MB / 4.109 GB, free: 72.14 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002586/12.26, allocations: 232.5 kB / 4.11 GB, free: 71.83 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.568/17.83, allocations: 0 / 4.11 GB, free: 71.83 MB / 0.5573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeInitialization_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeInitialization.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization_res.mat does not exist to compare? outputFormat=mat