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.001907/0.001906, allocations: 183.5 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 2.114/2.114, allocations: 205.2 MB / 218.9 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.001014/0.001014, allocations: 94.11 kB / 267 MB, free: 9.266 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.5135/0.5135, allocations: 43.48 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.421e-05/5.425e-05, allocations: 0 / 425.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1766, allocations: 58.83 MB / 484.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.3/8.477, allocations: 2.822 GB / 3.295 GB, free: 7.242 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/8.477, allocations: 84.92 kB / 3.295 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.836/11.31, allocations: 0.7445 GB / 4.039 GB, free: 29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.503e-06/11.31, allocations: 0 / 4.039 GB, free: 29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001683/11.31, allocations: 34.67 kB / 4.039 GB, free: 28.99 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.01163/11.32, allocations: 2.759 MB / 4.042 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/11.32, allocations: 10.53 kB / 4.042 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007245/11.33, allocations: 162.7 kB / 4.042 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003679/11.33, allocations: 472.6 kB / 4.043 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003574/11.33, allocations: 1.132 MB / 4.044 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/11.33, allocations: 155.1 kB / 4.044 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004792/11.33, allocations: 97.94 kB / 4.044 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004788/11.34, allocations: 1.883 MB / 4.046 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4e-05/11.34, allocations: 3.938 kB / 4.046 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002433/11.34, allocations: 49.23 kB / 4.046 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/11.34, allocations: 80.69 kB / 4.046 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003731/11.34, allocations: 1.712 MB / 4.048 GB, free: 24.91 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.01239/11.35, allocations: 8.538 MB / 4.056 GB, free: 18.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002955/11.36, allocations: 1.385 MB / 4.057 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007071/11.36, allocations: 469.8 kB / 4.058 GB, free: 17.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4763/11.84, allocations: 63.48 MB / 4.12 GB, free: 61.43 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003106/11.84, allocations: 0.9009 MB / 4.121 GB, free: 61.31 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=82): time 6.492e-06/11.84, allocations: 0 / 4.121 GB, free: 61.31 MB / 0.5417 GB Notification: Performance of matching and sorting (n=86): time 0.01152/11.85, allocations: 3.735 MB / 4.124 GB, free: 60.32 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/11.85, allocations: 410.2 kB / 4.125 GB, free: 59.86 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002198/11.85, allocations: 0.9186 MB / 4.125 GB, free: 59.7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001335/11.85, allocations: 44.48 kB / 4.126 GB, free: 59.66 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005944/11.85, allocations: 0.5632 MB / 4.126 GB, free: 59.45 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003745/11.85, allocations: 308.8 kB / 4.126 GB, free: 59.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/11.85, allocations: 25.41 kB / 4.126 GB, free: 59.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001168/11.85, allocations: 357.3 kB / 4.127 GB, free: 59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008242/11.85, allocations: 476.7 kB / 4.127 GB, free: 59 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/11.86, allocations: 0.9427 MB / 4.128 GB, free: 58.45 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/11.86, allocations: 0.6294 MB / 4.129 GB, free: 58.44 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/11.86, allocations: 7.656 kB / 4.129 GB, free: 58.44 MB / 0.5417 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003356/11.86, allocations: 1.768 MB / 4.13 GB, free: 58.32 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001273/11.86, allocations: 5.41 MB / 4.136 GB, free: 52.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.48e-05/11.86, allocations: 16.5 kB / 4.136 GB, free: 52.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005749/11.87, allocations: 1.073 MB / 4.137 GB, free: 52.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/11.87, allocations: 253.3 kB / 4.137 GB, free: 52.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/11.87, allocations: 1.446 MB / 4.138 GB, free: 52.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/11.87, allocations: 124.9 kB / 4.139 GB, free: 52.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002751/11.87, allocations: 75.23 kB / 4.139 GB, free: 52.14 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/11.87, allocations: 2.75 kB / 4.139 GB, free: 52.14 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003354/11.88, allocations: 1.524 MB / 4.14 GB, free: 52.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.855e-05/11.88, allocations: 15.98 kB / 4.14 GB, free: 52.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001315/11.88, allocations: 344.1 kB / 4.14 GB, free: 52.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/11.88, allocations: 283 kB / 4.141 GB, free: 52.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/11.88, allocations: 1.012 MB / 4.142 GB, free: 51.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/11.88, allocations: 133.6 kB / 4.142 GB, free: 51.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/11.88, allocations: 64.69 kB / 4.142 GB, free: 51.57 MB / 0.5417 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 (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 () * 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.0005749/11.88, allocations: 210 kB / 4.142 GB, free: 51.46 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00046/11.88, allocations: 126.5 kB / 4.142 GB, free: 51.39 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005512/11.89, allocations: 3.966 MB / 4.146 GB, free: 51.04 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-05/11.89, allocations: 49.41 kB / 4.146 GB, free: 51.04 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/11.89, allocations: 0 / 4.146 GB, free: 51.04 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/11.89, allocations: 6.5 kB / 4.146 GB, free: 51.04 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007414/11.9, allocations: 5.478 MB / 4.152 GB, free: 50.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/11.9, allocations: 6.109 kB / 4.152 GB, free: 50.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007078/11.9, allocations: 167.8 kB / 4.152 GB, free: 50.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006255/11.9, allocations: 1.804 MB / 4.153 GB, free: 50.41 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/11.9, allocations: 26.16 kB / 4.153 GB, free: 50.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/11.9, allocations: 2.086 MB / 4.156 GB, free: 49.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/11.9, allocations: 4.656 kB / 4.156 GB, free: 49.35 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004674/11.91, allocations: 3.806 MB / 4.159 GB, free: 48.77 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/11.91, allocations: 0.5318 MB / 4.16 GB, free: 48.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005947/11.91, allocations: 25.25 kB / 4.16 GB, free: 48.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/11.91, allocations: 101.7 kB / 4.16 GB, free: 48.54 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/11.91, allocations: 76.27 kB / 4.16 GB, free: 48.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.629e-05/11.91, allocations: 34.78 kB / 4.16 GB, free: 48.54 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00195/11.91, allocations: 1.039 MB / 4.161 GB, free: 48.42 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.91e-07/11.91, allocations: 0 / 4.161 GB, free: 48.42 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009748/11.92, allocations: 2.057 MB / 4.163 GB, free: 48.32 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 () * 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.01765/11.94, allocations: 6.611 MB / 4.169 GB, free: 46.62 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005234/11.95, allocations: 2.304 MB / 4.172 GB, free: 46.58 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/11.95, allocations: 0 / 4.172 GB, free: 46.58 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001607/11.95, allocations: 0.9823 MB / 4.173 GB, free: 46.57 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004078/11.95, allocations: 0.6384 MB / 4.173 GB, free: 46.56 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/11.97, allocations: 3.788 MB / 4.177 GB, free: 45.77 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00169/11.97, allocations: 1.481 MB / 4.178 GB, free: 45.05 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003588/11.97, allocations: 1.046 MB / 4.179 GB, free: 45.03 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/11.97, allocations: 0.6992 MB / 4.18 GB, free: 45.02 MB / 0.5417 GB Notification: Performance of SimCode: time 1.433e-06/11.97, allocations: 1.062 kB / 4.18 GB, free: 45.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1403/12.11, allocations: 88.94 MB / 4.267 GB, free: 41.04 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/12.11, allocations: 238.1 kB / 4.267 GB, free: 40.72 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.334/17.45, allocations: 4 kB / 4.267 GB, free: 40.71 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