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.001941/0.00194, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.17/2.17, allocations: 205.3 MB / 213.7 MB, free: 1.73 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.001212/0.001212, allocations: 94.22 kB / 261.8 MB, free: 1.684 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.2625/0.2625, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.287e-05/2.29e-05, allocations: 7.984 kB / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1446, allocations: 58.85 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.535/8.68, allocations: 2.821 GB / 3.287 GB, free: 52.07 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/8.68, allocations: 82.2 kB / 3.287 GB, free: 52.04 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.84/11.52, allocations: 0.7376 GB / 4.025 GB, free: 41.42 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.573e-06/11.52, allocations: 3.938 kB / 4.025 GB, free: 41.42 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001105/11.52, allocations: 36.23 kB / 4.025 GB, free: 41.41 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.01136/11.53, allocations: 2.751 MB / 4.027 GB, free: 40.04 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/11.53, allocations: 11.91 kB / 4.027 GB, free: 40.04 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003606/11.54, allocations: 477.5 kB / 4.028 GB, free: 39.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002737/11.54, allocations: 1.143 MB / 4.029 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/11.54, allocations: 116.4 kB / 4.029 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/11.54, allocations: 54.03 kB / 4.029 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002118/11.54, allocations: 1.336 MB / 4.03 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/11.54, allocations: 1.47 MB / 4.032 GB, free: 39.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/11.54, allocations: 0 / 4.032 GB, free: 39.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/11.54, allocations: 10.78 kB / 4.032 GB, free: 39.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.911e-05/11.54, allocations: 82.44 kB / 4.032 GB, free: 39.22 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.6014/12.14, allocations: 135.2 MB / 4.164 GB, free: 74.72 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002547/12.15, allocations: 0.9231 MB / 4.165 GB, free: 74.5 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008073/12.15, allocations: 380.4 kB / 4.165 GB, free: 74.5 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04692/12.2, allocations: 16.7 MB / 4.182 GB, free: 64.28 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001293/12.2, allocations: 0.4926 MB / 4.182 GB, free: 64.17 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=66): time 4.368e-06/12.2, allocations: 0 / 4.182 GB, free: 64.17 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70): time 0.01416/12.21, allocations: 3.117 MB / 4.185 GB, free: 63.53 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/12.21, allocations: 356.4 kB / 4.185 GB, free: 63.12 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/12.21, allocations: 0.8382 MB / 4.186 GB, free: 62.97 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.791e-05/12.21, allocations: 25.7 kB / 4.186 GB, free: 62.94 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006236/12.21, allocations: 0.6295 MB / 4.187 GB, free: 62.68 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/12.21, allocations: 238.8 kB / 4.187 GB, free: 62.56 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/12.21, allocations: 1.781 kB / 4.187 GB, free: 62.56 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001514/12.21, allocations: 358 kB / 4.187 GB, free: 62.26 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/12.22, allocations: 470 kB / 4.188 GB, free: 62.26 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/12.22, allocations: 0.9139 MB / 4.189 GB, free: 61.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/12.23, allocations: 1.653 MB / 4.19 GB, free: 61.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.431e-05/12.23, allocations: 3.844 kB / 4.19 GB, free: 61.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.01535/12.24, allocations: 2.689 MB / 4.193 GB, free: 61.58 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001157/12.24, allocations: 5.406 MB / 4.198 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.843e-05/12.24, allocations: 14.91 kB / 4.198 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004865/12.25, allocations: 0.7132 MB / 4.199 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/12.25, allocations: 251.7 kB / 4.199 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004189/12.26, allocations: 1.616 MB / 4.201 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002858/12.26, allocations: 122.3 kB / 4.201 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003253/12.26, allocations: 71.09 kB / 4.201 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/12.26, allocations: 3.344 kB / 4.201 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01338/12.27, allocations: 2.329 MB / 4.203 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-05/12.27, allocations: 12.53 kB / 4.203 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/12.27, allocations: 336.2 kB / 4.204 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/12.28, allocations: 281.7 kB / 4.204 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/12.28, allocations: 1.037 MB / 4.205 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/12.28, allocations: 103.8 kB / 4.205 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/12.28, allocations: 70 kB / 4.205 GB, free: 54.84 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: 62 * Number of states: 0 () * Number of discrete variables: 19 ($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,source.medium.phase,sink.state.phase,sink.medium.phase,source.state.phase) * Number of discrete 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.0006343/12.28, allocations: 158 kB / 4.205 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004274/12.28, allocations: 1.044 MB / 4.206 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/12.29, allocations: 111.7 kB / 4.206 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00637/12.29, allocations: 2.903 MB / 4.209 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.521e-05/12.29, allocations: 36.36 kB / 4.209 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/12.29, allocations: 0 / 4.209 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/12.29, allocations: 6.672 kB / 4.209 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009119/12.3, allocations: 4.566 MB / 4.214 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/12.3, allocations: 6.797 kB / 4.214 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000889/12.3, allocations: 130.6 kB / 4.214 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004907/12.31, allocations: 1.527 MB / 4.215 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.424e-05/12.31, allocations: 13.67 kB / 4.215 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/12.31, allocations: 2.267 MB / 4.218 GB, free: 52.53 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/12.31, allocations: 3.375 kB / 4.218 GB, free: 52.53 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003951/12.31, allocations: 3.32 MB / 4.221 GB, free: 52.13 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000662/12.31, allocations: 353 kB / 4.221 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/12.31, allocations: 9.375 kB / 4.221 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007885/12.31, allocations: 71.92 kB / 4.221 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/12.31, allocations: 66.3 kB / 4.221 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-05/12.31, allocations: 30.73 kB / 4.221 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008314/12.32, allocations: 0.6031 MB / 4.222 GB, free: 51.85 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.2e-07/12.32, allocations: 0 / 4.222 GB, free: 51.85 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007937/12.32, allocations: 1.922 MB / 4.224 GB, free: 51.82 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (pipe.volume.medium.p,pipe.volume.medium.h) * Number of discrete variables: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse15.phase,$cse15.region,$cse19.phase,$cse19.region,$whenCondition2,$whenCondition1,pipe.volume.heatTransfer.states[1].phase,m_flow_initial) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.01487/12.34, allocations: 6.087 MB / 4.23 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004142/12.34, allocations: 2.08 MB / 4.232 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/12.34, allocations: 2.531 kB / 4.232 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/12.34, allocations: 0.8051 MB / 4.233 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002775/12.35, allocations: 465.8 kB / 4.233 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/12.36, allocations: 3.188 MB / 4.236 GB, free: 49.74 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007951/12.36, allocations: 1.343 MB / 4.237 GB, free: 49.02 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00231/12.36, allocations: 1.203 MB / 4.239 GB, free: 49.01 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005918/12.36, allocations: 0.5482 MB / 4.239 GB, free: 49 MB / 0.5573 GB Notification: Performance of SimCode: time 1.102e-06/12.36, allocations: 0 / 4.239 GB, free: 49 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1162/12.48, allocations: 69.41 MB / 4.307 GB, free: 40.27 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001515/12.48, allocations: 192.9 kB / 4.307 GB, free: 40.07 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.617/17.1, allocations: 0 / 4.307 GB, free: 40.07 MB / 0.5573 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