Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01443/0.01443, allocations: 176.2 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.971/1.971, allocations: 194.5 MB / 210.3 MB, free: 8.59 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002048/0.002047, allocations: 112.7 kB / 255.6 MB, free: 11.21 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2563/0.2563, allocations: 40.02 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004844/0.0004844, allocations: 10.69 kB / 406.3 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1044, allocations: 54.87 MB / 461.1 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.162/2.266, allocations: 0.6878 GB / 1.138 GB, free: 121.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/2.266, allocations: 83.55 kB / 1.138 GB, free: 121.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.392/5.658, allocations: 0.6156 GB / 1.754 GB, free: 37.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.407e-06/5.658, allocations: 3.938 kB / 1.754 GB, free: 37.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003605/5.658, allocations: 65.33 kB / 1.754 GB, free: 37.79 MB / 0.4948 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.01553/5.674, allocations: 3.508 MB / 1.757 GB, free: 36.01 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/5.674, allocations: 9.312 kB / 1.757 GB, free: 36.01 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00153/5.676, allocations: 264.2 kB / 1.758 GB, free: 35.96 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005117/5.681, allocations: 465.2 kB / 1.758 GB, free: 35.83 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009101/5.69, allocations: 2.025 MB / 1.76 GB, free: 35.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002439/5.69, allocations: 135.4 kB / 1.76 GB, free: 35.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001118/5.691, allocations: 184.5 kB / 1.76 GB, free: 35.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009328/5.701, allocations: 2.745 MB / 1.763 GB, free: 34.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/5.701, allocations: 3.938 kB / 1.763 GB, free: 34.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009973/5.702, allocations: 80.3 kB / 1.763 GB, free: 34.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003407/5.702, allocations: 153.8 kB / 1.763 GB, free: 34.83 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008008/5.71, allocations: 2.34 MB / 1.765 GB, free: 34.79 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02645/5.737, allocations: 11.53 MB / 1.777 GB, free: 28.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005357/5.742, allocations: 1.867 MB / 1.779 GB, free: 28.15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/5.744, allocations: 466.6 kB / 1.779 GB, free: 27.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003875/5.748, allocations: 1.227 MB / 1.78 GB, free: 27.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=172): time 5.962e-06/5.748, allocations: 0 / 1.78 GB, free: 27.73 MB / 0.4948 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipe1.mediums[1].T 2: pipe2.mediums[1].T 3: pipe3.mediums[1].T 4: junctionIdeal.medium.T 5: junctionVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=200): time 0.05682/5.805, allocations: 12.2 MB / 1.792 GB, free: 24.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/5.805, allocations: 259 kB / 1.792 GB, free: 24.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003404/5.808, allocations: 1.401 MB / 1.794 GB, free: 24.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007839/5.809, allocations: 65.33 kB / 1.794 GB, free: 24.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001165/5.81, allocations: 0.9186 MB / 1.795 GB, free: 23.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001227/5.811, allocations: 0.6704 MB / 1.795 GB, free: 22.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003915/5.812, allocations: 48.97 kB / 1.795 GB, free: 22.81 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002008/5.812, allocations: 394.2 kB / 1.796 GB, free: 22.47 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003486/5.816, allocations: 1.083 MB / 1.797 GB, free: 22.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003988/5.82, allocations: 1.58 MB / 1.798 GB, free: 21.19 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004163/5.824, allocations: 1.369 MB / 1.8 GB, free: 20.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.865e-05/5.824, allocations: 2.25 kB / 1.8 GB, free: 20.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.01095/5.835, allocations: 3.33 MB / 1.803 GB, free: 19.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001089/5.836, allocations: 4.841 MB / 1.808 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.041e-05/5.836, allocations: 10.47 kB / 1.808 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/5.838, allocations: 304.8 kB / 1.808 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004788/5.842, allocations: 0.5735 MB / 1.809 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/5.845, allocations: 3.004 MB / 1.812 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004454/5.849, allocations: 230.5 kB / 1.812 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009491/5.85, allocations: 206 kB / 1.812 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/5.85, allocations: 3.625 kB / 1.812 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009769/5.86, allocations: 3.06 MB / 1.815 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.571e-05/5.86, allocations: 12 kB / 1.815 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/5.861, allocations: 312.3 kB / 1.815 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00457/5.866, allocations: 0.5581 MB / 1.816 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/5.869, allocations: 3.001 MB / 1.819 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004168/5.873, allocations: 220.6 kB / 1.819 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008771/5.874, allocations: 205.3 kB / 1.819 GB, free: 20.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 258 * 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.002444/5.877, allocations: 0.7119 MB / 1.82 GB, free: 19.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007618/5.877, allocations: 221.4 kB / 1.82 GB, free: 19.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01451/5.892, allocations: 3.808 MB / 1.824 GB, free: 16.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.44e-05/5.892, allocations: 23.7 kB / 1.824 GB, free: 16.15 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/5.892, allocations: 0 / 1.824 GB, free: 16.15 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008902/5.901, allocations: 2.95 MB / 1.827 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02404/5.925, allocations: 7.062 MB / 1.834 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.18e-05/5.925, allocations: 4 kB / 1.834 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004021/5.929, allocations: 463.9 kB / 1.834 GB, free: 7.012 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001663/5.931, allocations: 317.5 kB / 1.834 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006988/5.932, allocations: 110.1 kB / 1.834 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004027/5.936, allocations: 3.757 MB / 1.838 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.24e-05/5.936, allocations: 11.94 kB / 1.838 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01784/5.954, allocations: 5.154 MB / 1.843 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002355/5.956, allocations: 0.5543 MB / 1.844 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009636/5.957, allocations: 71.61 kB / 1.844 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003255/5.96, allocations: 131.3 kB / 1.844 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007749/5.961, allocations: 183.7 kB / 1.844 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005587/5.962, allocations: 181.9 kB / 1.844 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002697/5.964, allocations: 1.061 MB / 1.845 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.81e-07/5.964, allocations: 0 / 1.845 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01062/5.975, allocations: 2.061 MB / 1.847 GB, free: 10.71 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 198 * 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.02458/6, allocations: 9.572 MB / 1.857 GB, free: 2.062 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.416/6.416, allocations: 4.648 MB / 1.861 GB, free: 66.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.554e-05/6.416, allocations: 3.062 kB / 1.861 GB, free: 66.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005209/6.421, allocations: 1.664 MB / 1.863 GB, free: 66.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009311/6.43, allocations: 1.045 MB / 1.864 GB, free: 66.15 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04036/6.471, allocations: 17.49 MB / 1.881 GB, free: 54.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003328/6.474, allocations: 1.765 MB / 1.883 GB, free: 54.06 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009874/6.484, allocations: 1.391 MB / 1.884 GB, free: 54.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00367/6.488, allocations: 1.042 MB / 1.885 GB, free: 54.04 MB / 0.5261 GB Notification: Performance of SimCode: time 1.513e-06/6.488, allocations: 0 / 1.885 GB, free: 54.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2838/6.772, allocations: 101.9 MB / 1.984 GB, free: 45.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/6.772, allocations: 274.2 kB / 1.985 GB, free: 44.87 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.664/14.44, allocations: 0 / 1.985 GB, free: 44.87 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17_res.mat does not exist to compare? outputFormat=mat