Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.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.BranchingPipes15,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15",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.00984/0.009846, allocations: 176 kB / 15.13 MB, free: 5.961 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 2.067/2.067, allocations: 194.5 MB / 210.3 MB, free: 7.598 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.001963/0.001963, allocations: 128.1 kB / 255.6 MB, free: 10.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.3039/0.3039, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007149/0.0007152, allocations: 17.94 kB / 406.3 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1311, allocations: 54.89 MB / 461.2 MB, free: 3.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15): time 0.7339/0.8651, allocations: 229.1 MB / 0.6741 GB, free: 4.793 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.04624/0.9114, allocations: 18.24 MB / 0.6919 GB, free: 2.516 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004444/0.9159, allocations: 107.2 kB / 0.692 GB, free: 2.41 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005159/0.9211, allocations: 0.7922 MB / 0.6928 GB, free: 1.613 MB / 474.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01878/0.94, allocations: 4.326 MB / 0.697 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02129/0.9613, allocations: 5.203 MB / 0.7021 GB, free: 8.082 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.01403/0.9753, allocations: 7.965 MB / 0.7099 GB, free: 100 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003663/0.9791, allocations: 1.26 MB / 0.7111 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006718/0.9858, allocations: 2.113 MB / 0.7132 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006646/0.9925, allocations: 2.418 MB / 0.7156 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0009706/0.9935, allocations: 108 kB / 0.7157 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01166/1.005, allocations: 3.332 MB / 0.7189 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.002047/1.007, allocations: 0.8023 MB / 0.7197 GB, free: 6.02 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.001303/1.009, allocations: 472.5 kB / 0.7201 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.01029/1.019, allocations: 3.925 MB / 0.724 GB, free: 1.617 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.019, allocations: 0 / 0.724 GB, free: 1.617 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.095e-06/1.019, allocations: 4 kB / 0.724 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001254/1.019, allocations: 0 / 0.724 GB, free: 1.613 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: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.4412/1.46, allocations: 2.959 MB / 0.7269 GB, free: 201.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/1.46, allocations: 9.719 kB / 0.7269 GB, free: 201.8 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001511/1.462, allocations: 247.1 kB / 0.7271 GB, free: 201.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006389/1.468, allocations: 435.9 kB / 0.7275 GB, free: 201.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009078/1.478, allocations: 1.868 MB / 0.7294 GB, free: 201.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003338/1.478, allocations: 126.5 kB / 0.7295 GB, free: 201.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009444/1.479, allocations: 164.1 kB / 0.7296 GB, free: 201.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/1.49, allocations: 2.531 MB / 0.7321 GB, free: 200.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-05/1.49, allocations: 2.375 kB / 0.7321 GB, free: 200.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005195/1.491, allocations: 76.14 kB / 0.7322 GB, free: 200.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006344/1.491, allocations: 190.6 kB / 0.7324 GB, free: 200.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/1.502, allocations: 2.218 MB / 0.7345 GB, free: 200 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.03359/1.536, allocations: 10.73 MB / 0.745 GB, free: 191.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007726/1.543, allocations: 1.774 MB / 0.7467 GB, free: 190.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004269/1.548, allocations: 1.045 MB / 0.7478 GB, free: 190.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005364/1.553, allocations: 2.427 MB / 0.7501 GB, free: 187.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004772/1.558, allocations: 1.16 MB / 0.7513 GB, free: 187.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=162): time 9.268e-06/1.558, allocations: 0 / 0.7513 GB, free: 187.1 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 Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=185): time 0.06656/1.625, allocations: 10.51 MB / 0.7615 GB, free: 179.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/1.625, allocations: 180.2 kB / 0.7617 GB, free: 179.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003762/1.629, allocations: 1.49 MB / 0.7631 GB, free: 177.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000767/1.629, allocations: 57.7 kB / 0.7632 GB, free: 177.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00134/1.631, allocations: 0.9025 MB / 0.7641 GB, free: 177 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001387/1.632, allocations: 0.6217 MB / 0.7647 GB, free: 176.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004022/1.633, allocations: 40 kB / 0.7647 GB, free: 176.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002291/1.633, allocations: 390.2 kB / 0.7651 GB, free: 175.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004303/1.637, allocations: 1.011 MB / 0.7661 GB, free: 174.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004808/1.642, allocations: 1.524 MB / 0.7676 GB, free: 173.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004925/1.647, allocations: 1.305 MB / 0.7689 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.359e-05/1.647, allocations: 4 kB / 0.7689 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01079/1.658, allocations: 3.11 MB / 0.7719 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003283/1.658, allocations: 0.5282 MB / 0.7724 GB, free: 168 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/1.658, allocations: 12 kB / 0.7724 GB, free: 168 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007168/1.659, allocations: 203.3 kB / 0.7726 GB, free: 167.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004718/1.664, allocations: 0.55 MB / 0.7732 GB, free: 167.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/1.666, allocations: 2.338 MB / 0.7754 GB, free: 164.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003943/1.67, allocations: 203.7 kB / 0.7756 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000774/1.671, allocations: 195.9 kB / 0.7758 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/1.671, allocations: 4 kB / 0.7758 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008063/1.679, allocations: 2.845 MB / 0.7786 GB, free: 161.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.134e-05/1.679, allocations: 12.62 kB / 0.7786 GB, free: 161.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005958/1.679, allocations: 199.3 kB / 0.7788 GB, free: 161.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004391/1.684, allocations: 0.5461 MB / 0.7793 GB, free: 160.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/1.686, allocations: 2.334 MB / 0.7816 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003681/1.689, allocations: 203.9 kB / 0.7818 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007641/1.69, allocations: 188 kB / 0.782 GB, free: 157.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (259): * Single equations (assignments): 253 * 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.002132/1.692, allocations: 0.7067 MB / 0.7827 GB, free: 157.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008053/1.693, allocations: 213.5 kB / 0.7829 GB, free: 157 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01225/1.705, allocations: 3.497 MB / 0.7863 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/1.705, allocations: 20 kB / 0.7863 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/1.706, allocations: 0 / 0.7863 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006757/1.712, allocations: 2.708 MB / 0.789 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02782/1.74, allocations: 7.484 MB / 0.7963 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.257e-05/1.74, allocations: 4 kB / 0.7963 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01055/1.751, allocations: 447.5 kB / 0.7967 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/1.752, allocations: 187.2 kB / 0.7969 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007287/1.753, allocations: 103.9 kB / 0.797 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009684/1.762, allocations: 3.07 MB / 0.8 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.391e-05/1.763, allocations: 12.19 kB / 0.8 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02815/1.791, allocations: 4.218 MB / 0.8041 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006679/1.797, allocations: 0.5256 MB / 0.8046 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001206/1.799, allocations: 59.98 kB / 0.8047 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003891/1.803, allocations: 123.7 kB / 0.8048 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008482/1.804, allocations: 188.5 kB / 0.805 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005602/1.804, allocations: 167.9 kB / 0.8051 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002827/1.807, allocations: 0.9764 MB / 0.8061 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.583e-06/1.807, allocations: 0 / 0.8061 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01011/1.817, allocations: 1.658 MB / 0.8077 GB, free: 130.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 190 * 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.02264/1.84, allocations: 5.891 MB / 0.8135 GB, free: 125 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01735/1.857, allocations: 4.411 MB / 0.8178 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.141e-05/1.857, allocations: 4.125 kB / 0.8178 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005847/1.863, allocations: 1.564 MB / 0.8193 GB, free: 119 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01181/1.875, allocations: 0.9433 MB / 0.8202 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04498/1.92, allocations: 15.76 MB / 0.8356 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001721/1.922, allocations: 1.715 MB / 0.8373 GB, free: 99.54 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.009431/1.931, allocations: 1.379 MB / 0.8386 GB, free: 98.17 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003242/1.935, allocations: 0.9874 MB / 0.8396 GB, free: 97.18 MB / 0.4948 GB Notification: Performance of SimCode: time 1.973e-06/1.935, allocations: 0 / 0.8396 GB, free: 97.18 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1885/2.123, allocations: 75.16 MB / 0.913 GB, free: 21.97 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002439/2.124, allocations: 275.6 kB / 0.9133 GB, free: 21.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.325/8.449, allocations: 0 / 0.9133 GB, free: 21.6 MB / 0.4948 GB