Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.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.BranchingPipes15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15",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.001777/0.001777, allocations: 180.9 kB / 8.006 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.035/2.035, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.001524/0.001523, allocations: 92.03 kB / 261.8 MB, free: 1.676 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.2598/0.2598, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.527e-05/2.564e-05, allocations: 7.984 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1639, allocations: 58.85 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.516/2.68, allocations: 0.6583 GB / 1.124 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/2.681, allocations: 85.45 kB / 1.124 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.677/5.358, allocations: 0.5395 GB / 1.664 GB, free: 42.08 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.793e-06/5.358, allocations: 0 / 1.664 GB, free: 42.08 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002441/5.358, allocations: 62.2 kB / 1.664 GB, free: 42.08 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: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.01456/5.373, allocations: 3.032 MB / 1.667 GB, free: 41.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 8.192e-05/5.373, allocations: 13.75 kB / 1.667 GB, free: 41.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004262/5.377, allocations: 447.1 kB / 1.667 GB, free: 41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007001/5.384, allocations: 1.936 MB / 1.669 GB, free: 40.65 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/5.385, allocations: 55.69 kB / 1.669 GB, free: 40.65 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005591/5.385, allocations: 103.8 kB / 1.669 GB, free: 40.65 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004865/5.39, allocations: 2.124 MB / 1.672 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004509/5.395, allocations: 2.37 MB / 1.674 GB, free: 40.22 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.893e-05/5.395, allocations: 3.969 kB / 1.674 GB, free: 40.22 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002131/5.395, allocations: 10.47 kB / 1.674 GB, free: 40.22 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002476/5.395, allocations: 152.9 kB / 1.674 GB, free: 40.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.01676/5.412, allocations: 10.78 MB / 1.685 GB, free: 34.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/5.414, allocations: 1.721 MB / 1.686 GB, free: 34.15 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/5.416, allocations: 0.9794 MB / 1.687 GB, free: 34.14 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009532/5.417, allocations: 457.6 kB / 1.688 GB, free: 33.86 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00152/5.418, allocations: 1.147 MB / 1.689 GB, free: 33.69 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=153): time 3.646e-06/5.418, allocations: 3.844 kB / 1.689 GB, free: 33.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=176): time 0.03936/5.457, allocations: 9.53 MB / 1.698 GB, free: 32.87 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001932/5.458, allocations: 358.5 kB / 1.698 GB, free: 32.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/5.46, allocations: 1.075 MB / 1.699 GB, free: 32.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003585/5.46, allocations: 31.89 kB / 1.699 GB, free: 32.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008694/5.461, allocations: 0.897 MB / 1.7 GB, free: 31.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005999/5.461, allocations: 0.5695 MB / 1.701 GB, free: 31.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/5.462, allocations: 6.125 kB / 1.701 GB, free: 31.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001659/5.462, allocations: 388.8 kB / 1.701 GB, free: 31.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/5.463, allocations: 0.976 MB / 1.702 GB, free: 31.22 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/5.465, allocations: 1.403 MB / 1.704 GB, free: 30.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009436/5.475, allocations: 2.334 MB / 1.706 GB, free: 30.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.311e-05/5.475, allocations: 3.719 kB / 1.706 GB, free: 30.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.01315/5.488, allocations: 4.009 MB / 1.71 GB, free: 30.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001492/5.489, allocations: 3.714 MB / 1.713 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.043e-05/5.489, allocations: 9.656 kB / 1.713 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004262/5.49, allocations: 169.5 kB / 1.714 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/5.492, allocations: 0.5404 MB / 1.714 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/5.494, allocations: 2.34 MB / 1.716 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003248/5.497, allocations: 173.7 kB / 1.717 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004967/5.498, allocations: 190.1 kB / 1.717 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/5.498, allocations: 4.969 kB / 1.717 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01142/5.509, allocations: 3.518 MB / 1.72 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/5.509, allocations: 8.031 kB / 1.72 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003515/5.509, allocations: 177.4 kB / 1.72 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/5.512, allocations: 0.5246 MB / 1.721 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/5.513, allocations: 2.336 MB / 1.723 GB, free: 22.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003179/5.516, allocations: 168.7 kB / 1.723 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003913/5.517, allocations: 189 kB / 1.723 GB, free: 22.48 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (246): * Single equations (assignments): 240 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00121/5.518, allocations: 223.3 kB / 1.724 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01369/5.532, allocations: 3.391 MB / 1.727 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/5.533, allocations: 192.4 kB / 1.727 GB, free: 22 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01638/5.549, allocations: 4.011 MB / 1.731 GB, free: 21.81 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.197e-05/5.549, allocations: 17.91 kB / 1.731 GB, free: 21.81 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.516e-05/5.549, allocations: 0 / 1.731 GB, free: 21.81 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01473/5.564, allocations: 3.491 MB / 1.735 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0235/5.588, allocations: 7.035 MB / 1.741 GB, free: 20.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-05/5.588, allocations: 7.641 kB / 1.741 GB, free: 20.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002098/5.59, allocations: 415.3 kB / 1.742 GB, free: 20.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004299/5.59, allocations: 160.1 kB / 1.742 GB, free: 20.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004177/5.591, allocations: 70.23 kB / 1.742 GB, free: 20.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00312/5.594, allocations: 3.025 MB / 1.745 GB, free: 33.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/5.594, allocations: 6.438 kB / 1.745 GB, free: 33.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01713/5.611, allocations: 5.241 MB / 1.75 GB, free: 32.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002378/5.614, allocations: 0.5066 MB / 1.751 GB, free: 32.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001201/5.615, allocations: 31.69 kB / 1.751 GB, free: 32.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002768/5.618, allocations: 97.02 kB / 1.751 GB, free: 32.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005038/5.618, allocations: 163.3 kB / 1.751 GB, free: 32.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000497/5.619, allocations: 150.8 kB / 1.751 GB, free: 32.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00229/5.621, allocations: 0.7959 MB / 1.752 GB, free: 32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.41e-07/5.621, allocations: 0 / 1.752 GB, free: 32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01291/5.634, allocations: 1.819 MB / 1.754 GB, free: 31.75 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 8 (pipe1.mediums[1].p,pipe1.mediums[1].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe3.mediums[1].p,pipe3.mediums[1].T,junctionIdeal.medium.p,junctionIdeal.medium.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 12 (valveOpening2.nextEvent,valveOpening2.last,valveOpening2.nextEventScaled,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.03208/5.666, allocations: 9.81 MB / 1.763 GB, free: 28.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01283/5.679, allocations: 4.116 MB / 1.767 GB, free: 27.98 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.871e-05/5.679, allocations: 7.766 kB / 1.767 GB, free: 27.97 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003721/5.683, allocations: 1.4 MB / 1.769 GB, free: 27.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006983/5.69, allocations: 0.79 MB / 1.769 GB, free: 27.72 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02002/5.71, allocations: 4.783 MB / 1.774 GB, free: 26.47 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00332/5.713, allocations: 1.723 MB / 1.776 GB, free: 25.73 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009211/5.723, allocations: 1.391 MB / 1.777 GB, free: 25.67 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002781/5.725, allocations: 0.9441 MB / 1.778 GB, free: 25.64 MB / 0.5261 GB Notification: Performance of SimCode: time 1.513e-06/5.725, allocations: 0 / 1.778 GB, free: 25.64 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6121/6.338, allocations: 80.34 MB / 1.856 GB, free: 61.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/6.338, allocations: 177 kB / 1.857 GB, free: 61.33 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.038/11.38, allocations: 3.812 kB / 1.857 GB, free: 61.33 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15_res.mat does not exist to compare? outputFormat=mat