Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestPipesAndValves_LumpedPipeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestPipesAndValves_LumpedPipeInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.704/1.704, allocations: 221.3 MB / 236 MB, free: 2.926 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 95.78 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2947/0.2947, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.147e-05/4.149e-05, allocations: 224 / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1936, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.191/8.385, allocations: 2.827 GB / 3.328 GB, free: 43.83 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/8.385, allocations: 79.16 kB / 3.328 GB, free: 43.79 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.982/11.37, allocations: 0.752 GB / 4.08 GB, free: 47.46 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.414e-06/11.37, allocations: 0 / 4.08 GB, free: 47.46 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001162/11.37, allocations: 36.09 kB / 4.08 GB, free: 47.45 MB / 0.5417 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.01095/11.38, allocations: 2.761 MB / 4.083 GB, free: 46.13 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/11.38, allocations: 11.88 kB / 4.083 GB, free: 46.13 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004575/11.38, allocations: 152 kB / 4.083 GB, free: 46.09 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003433/11.38, allocations: 482.9 kB / 4.084 GB, free: 46.02 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002695/11.38, allocations: 1.14 MB / 4.085 GB, free: 45.69 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/11.39, allocations: 153.5 kB / 4.085 GB, free: 45.62 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/11.39, allocations: 90.12 kB / 4.085 GB, free: 45.62 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003364/11.39, allocations: 1.878 MB / 4.087 GB, free: 45.28 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/11.39, allocations: 7.312 kB / 4.087 GB, free: 45.28 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/11.39, allocations: 47.05 kB / 4.087 GB, free: 45.28 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.577e-05/11.39, allocations: 88.19 kB / 4.087 GB, free: 45.27 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002941/11.39, allocations: 1.714 MB / 4.089 GB, free: 45.26 MB / 0.5417 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.009836/11.4, allocations: 8.534 MB / 4.097 GB, free: 40.35 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/11.4, allocations: 1.378 MB / 4.098 GB, free: 40.04 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006067/11.41, allocations: 476.1 kB / 4.099 GB, free: 40 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.117/11.52, allocations: 63.5 MB / 4.161 GB, free: 16.51 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002567/11.52, allocations: 0.8988 MB / 4.162 GB, free: 16.37 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=82): time 3.837e-06/11.52, allocations: 0 / 4.162 GB, free: 16.37 MB / 0.5573 GB Notification: Performance of matching and sorting (n=86): time 0.008715/11.53, allocations: 3.744 MB / 4.165 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002383/11.53, allocations: 409.2 kB / 4.166 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/11.54, allocations: 0.9203 MB / 4.167 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/11.54, allocations: 42.39 kB / 4.167 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004816/11.54, allocations: 0.5706 MB / 4.167 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002844/11.54, allocations: 300.8 kB / 4.168 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.034e-05/11.54, allocations: 27.5 kB / 4.168 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001634/11.54, allocations: 355.6 kB / 4.168 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008013/11.54, allocations: 477 kB / 4.168 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/11.54, allocations: 0.949 MB / 4.169 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/11.54, allocations: 0.6275 MB / 4.17 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/11.54, allocations: 3.812 kB / 4.17 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.002962/11.54, allocations: 1.771 MB / 4.172 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002674/11.55, allocations: 5.405 MB / 4.177 GB, free: 23.41 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/11.55, allocations: 20.41 kB / 4.177 GB, free: 23.41 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005598/11.55, allocations: 1.076 MB / 4.178 GB, free: 23.37 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/11.55, allocations: 247.8 kB / 4.178 GB, free: 23.37 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/11.55, allocations: 1.443 MB / 4.18 GB, free: 22.83 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/11.56, allocations: 131.5 kB / 4.18 GB, free: 22.81 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002257/11.56, allocations: 68.56 kB / 4.18 GB, free: 22.81 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/11.56, allocations: 3.219 kB / 4.18 GB, free: 22.81 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002782/11.56, allocations: 1.526 MB / 4.181 GB, free: 22.78 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.369e-05/11.56, allocations: 18.38 kB / 4.181 GB, free: 22.77 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/11.56, allocations: 345.4 kB / 4.182 GB, free: 22.76 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/11.56, allocations: 280.9 kB / 4.182 GB, free: 22.75 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/11.56, allocations: 1.007 MB / 4.183 GB, free: 22.07 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/11.56, allocations: 131.3 kB / 4.183 GB, free: 22.04 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/11.56, allocations: 64.45 kB / 4.183 GB, free: 22.03 MB / 0.573 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.000476/11.56, allocations: 202.2 kB / 4.183 GB, free: 21.85 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003175/11.56, allocations: 136.4 kB / 4.184 GB, free: 21.74 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004638/11.57, allocations: 3.965 MB / 4.187 GB, free: 18.2 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.295e-05/11.57, allocations: 42.95 kB / 4.187 GB, free: 18.17 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/11.57, allocations: 6.438 kB / 4.187 GB, free: 18.17 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/11.57, allocations: 6.953 kB / 4.187 GB, free: 18.17 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006398/11.58, allocations: 5.49 MB / 4.193 GB, free: 13.41 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/11.58, allocations: 0 / 4.193 GB, free: 13.41 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006925/11.58, allocations: 177.4 kB / 4.193 GB, free: 13.27 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006174/11.58, allocations: 1.788 MB / 4.195 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002027/11.58, allocations: 35.69 kB / 4.195 GB, free: 11.86 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/11.58, allocations: 2.09 MB / 4.197 GB, free: 9.824 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/11.58, allocations: 3.938 kB / 4.197 GB, free: 9.82 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005138/11.59, allocations: 3.822 MB / 4.201 GB, free: 6.148 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/11.59, allocations: 0.5232 MB / 4.201 GB, free: 5.688 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004344/11.59, allocations: 26.81 kB / 4.201 GB, free: 5.664 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/11.59, allocations: 100.3 kB / 4.201 GB, free: 5.586 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/11.59, allocations: 80.72 kB / 4.201 GB, free: 5.535 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-05/11.59, allocations: 31.14 kB / 4.201 GB, free: 5.508 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002114/11.6, allocations: 1.033 MB / 4.202 GB, free: 4.551 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.11e-07/11.6, allocations: 0 / 4.202 GB, free: 4.551 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01206/11.61, allocations: 2.062 MB / 4.204 GB, free: 2.535 MB / 0.573 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.3935/12, allocations: 6.624 MB / 4.211 GB, free: 76.52 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004749/12.01, allocations: 2.307 MB / 4.213 GB, free: 76.49 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/12.01, allocations: 3.938 kB / 4.213 GB, free: 76.49 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001348/12.01, allocations: 0.9825 MB / 4.214 GB, free: 76.49 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003679/12.01, allocations: 0.6292 MB / 4.215 GB, free: 76.48 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/12.02, allocations: 3.791 MB / 4.218 GB, free: 75.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/12.02, allocations: 1.485 MB / 4.22 GB, free: 75.08 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003163/12.03, allocations: 1.038 MB / 4.221 GB, free: 75.07 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/12.03, allocations: 0.7022 MB / 4.221 GB, free: 75.06 MB / 0.573 GB Notification: Performance of SimCode: time 1.994e-06/12.03, allocations: 0 / 4.221 GB, free: 75.06 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1486/12.18, allocations: 88.99 MB / 4.308 GB, free: 72.04 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/12.18, allocations: 238.8 kB / 4.309 GB, free: 71.73 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.397/17.57, allocations: 0 / 4.309 GB, free: 71.73 MB / 0.573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestPipesAndValves_LumpedPipeInitialization_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestPipesAndValves_LumpedPipeInitialization.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization_res.mat does not exist to compare? outputFormat=mat