Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.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.BranchingPipes17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17",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.001137/0.001137, allocations: 178 kB / 8.008 MB, free: 1.066 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.121/2.121, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.00112/0.00112, allocations: 86.3 kB / 261.7 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.2681/0.2681, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.025e-05/2.029e-05, allocations: 0 / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1753, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.478/2.654, allocations: 0.6584 GB / 1.124 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/2.654, allocations: 77.41 kB / 1.125 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.951/5.606, allocations: 0.6026 GB / 1.727 GB, free: 49.16 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.495e-06/5.606, allocations: 3.281 kB / 1.727 GB, free: 49.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002366/5.606, allocations: 62.48 kB / 1.727 GB, free: 49.16 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.01359/5.619, allocations: 3.202 MB / 1.73 GB, free: 47.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/5.62, allocations: 10.88 kB / 1.73 GB, free: 47.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004029/5.624, allocations: 456.2 kB / 1.731 GB, free: 47.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006217/5.63, allocations: 2 MB / 1.733 GB, free: 47.36 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-05/5.63, allocations: 62.17 kB / 1.733 GB, free: 47.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005169/5.631, allocations: 105.5 kB / 1.733 GB, free: 47.35 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00397/5.634, allocations: 2.212 MB / 1.735 GB, free: 47.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004215/5.639, allocations: 2.479 MB / 1.737 GB, free: 46.89 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.473e-05/5.639, allocations: 8.266 kB / 1.737 GB, free: 46.89 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002398/5.639, allocations: 7.531 kB / 1.737 GB, free: 46.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002278/5.639, allocations: 152.1 kB / 1.738 GB, free: 46.88 MB / 0.5261 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.656, allocations: 11.26 MB / 1.749 GB, free: 40.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003454/5.66, allocations: 1.77 MB / 1.75 GB, free: 40.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001888/5.661, allocations: 1.05 MB / 1.751 GB, free: 40.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/5.663, allocations: 465 kB / 1.752 GB, free: 40.12 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00192/5.665, allocations: 1.241 MB / 1.753 GB, free: 39.95 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=167): time 4.558e-06/5.665, allocations: 0 / 1.753 GB, free: 39.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=195): time 0.04684/5.711, allocations: 10.46 MB / 1.763 GB, free: 38.99 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002557/5.712, allocations: 362.5 kB / 1.764 GB, free: 38.58 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003726/5.716, allocations: 1.094 MB / 1.765 GB, free: 38.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008365/5.716, allocations: 32.58 kB / 1.765 GB, free: 38.38 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00159/5.718, allocations: 0.9385 MB / 1.766 GB, free: 37.99 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001386/5.719, allocations: 0.6391 MB / 1.766 GB, free: 37.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004454/5.72, allocations: 0 / 1.766 GB, free: 37.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002689/5.72, allocations: 394.5 kB / 1.767 GB, free: 37.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/5.722, allocations: 1.024 MB / 1.768 GB, free: 37.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002616/5.725, allocations: 1.498 MB / 1.769 GB, free: 36.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/5.735, allocations: 2.39 MB / 1.771 GB, free: 36.76 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.033e-05/5.735, allocations: 3.625 kB / 1.771 GB, free: 36.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01562/5.751, allocations: 4.212 MB / 1.776 GB, free: 36.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001551/5.753, allocations: 4.26 MB / 1.78 GB, free: 32.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.175e-05/5.753, allocations: 13.59 kB / 1.78 GB, free: 32.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000831/5.754, allocations: 283.3 kB / 1.78 GB, free: 32.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002718/5.756, allocations: 0.5625 MB / 1.781 GB, free: 32.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/5.758, allocations: 3.027 MB / 1.783 GB, free: 29.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00337/5.762, allocations: 180 kB / 1.784 GB, free: 29.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007043/5.762, allocations: 205.4 kB / 1.784 GB, free: 29.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/5.762, allocations: 3.906 kB / 1.784 GB, free: 29.57 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01329/5.776, allocations: 3.721 MB / 1.787 GB, free: 29.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.345e-05/5.776, allocations: 10.28 kB / 1.787 GB, free: 29.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006674/5.776, allocations: 270.2 kB / 1.788 GB, free: 29.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002637/5.779, allocations: 0.5619 MB / 1.788 GB, free: 29.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/5.781, allocations: 3.029 MB / 1.791 GB, free: 26.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003188/5.784, allocations: 177.6 kB / 1.791 GB, free: 26.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007638/5.785, allocations: 200.7 kB / 1.792 GB, free: 26.84 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (261): * Single equations (assignments): 254 * 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: 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 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001472/5.786, allocations: 230.4 kB / 1.792 GB, free: 26.66 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01496/5.801, allocations: 3.661 MB / 1.795 GB, free: 26.43 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/5.803, allocations: 203.8 kB / 1.796 GB, free: 26.33 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01771/5.82, allocations: 4.484 MB / 1.8 GB, free: 26.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.65e-05/5.82, allocations: 20.22 kB / 1.8 GB, free: 26.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.29e-05/5.82, allocations: 0 / 1.8 GB, free: 26.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01468/5.835, allocations: 3.836 MB / 1.804 GB, free: 25.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0252/5.86, allocations: 7.621 MB / 1.811 GB, free: 24.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-05/5.86, allocations: 5.188 kB / 1.811 GB, free: 24.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002178/5.863, allocations: 450.1 kB / 1.812 GB, free: 24.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008099/5.863, allocations: 294.7 kB / 1.812 GB, free: 24.37 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004368/5.864, allocations: 80.17 kB / 1.812 GB, free: 24.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002565/5.867, allocations: 3.721 MB / 1.816 GB, free: 21.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/5.867, allocations: 9.281 kB / 1.816 GB, free: 21.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01796/5.885, allocations: 5.69 MB / 1.821 GB, free: 20.06 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002202/5.887, allocations: 0.5331 MB / 1.822 GB, free: 19.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001135/5.888, allocations: 25.77 kB / 1.822 GB, free: 19.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002707/5.891, allocations: 113.9 kB / 1.822 GB, free: 19.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005279/5.891, allocations: 183.7 kB / 1.822 GB, free: 19.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005405/5.892, allocations: 183.5 kB / 1.822 GB, free: 19.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002185/5.894, allocations: 0.8022 MB / 1.823 GB, free: 19.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.01e-07/5.894, allocations: 2.062 kB / 1.823 GB, free: 19.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01169/5.906, allocations: 1.909 MB / 1.825 GB, free: 19.48 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 9 (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,junctionVolume.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 (203): * Single equations (assignments): 196 * 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: 5 * 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: 4 {1 6,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.03154/5.937, allocations: 10.43 MB / 1.835 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01194/5.949, allocations: 4.395 MB / 1.839 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.59e-05/5.949, allocations: 3.828 kB / 1.839 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00323/5.953, allocations: 1.55 MB / 1.841 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006169/5.959, allocations: 0.9249 MB / 1.842 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0179/5.977, allocations: 5.057 MB / 1.847 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002029/5.979, allocations: 1.769 MB / 1.848 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007634/5.987, allocations: 1.478 MB / 1.85 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002341/5.989, allocations: 1.006 MB / 1.851 GB, free: 5.57 MB / 0.5261 GB Notification: Performance of SimCode: time 2.134e-06/5.989, allocations: 0 / 1.851 GB, free: 5.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6464/6.635, allocations: 87.67 MB / 1.936 GB, free: 57.04 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/6.636, allocations: 177.6 kB / 1.937 GB, free: 56.85 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.201/11.84, allocations: 0 / 1.937 GB, free: 56.85 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17_res.mat does not exist to compare? outputFormat=mat