Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.009821/0.009826, allocations: 162.9 kB / 15.12 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.648/1.648, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001813/0.001813, allocations: 109.9 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4508/0.4508, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004772/0.0004774, allocations: 12 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1034, allocations: 48.71 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15): time 0.9969/1.1, allocations: 229.1 MB / 0.6258 GB, free: 4.105 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0387/1.139, allocations: 18.22 MB / 0.6436 GB, free: 3.746 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00374/1.143, allocations: 107.3 kB / 0.6437 GB, free: 3.746 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003897/1.147, allocations: 0.8028 MB / 0.6444 GB, free: 3.73 MB / 426.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.1+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.1+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.1+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.01775/1.165, allocations: 4.31 MB / 0.6486 GB, free: 3.523 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02391/1.189, allocations: 5.209 MB / 0.6537 GB, free: 2.27 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01611/1.205, allocations: 7.952 MB / 0.6615 GB, free: 484 kB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004378/1.209, allocations: 1.238 MB / 0.6627 GB, free: 15.96 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008512/1.218, allocations: 2.111 MB / 0.6648 GB, free: 15.62 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008481/1.226, allocations: 2.42 MB / 0.6671 GB, free: 15.09 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001421/1.228, allocations: 107.2 kB / 0.6672 GB, free: 15.09 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01539/1.243, allocations: 3.318 MB / 0.6705 GB, free: 14.37 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002513/1.246, allocations: 0.809 MB / 0.6713 GB, free: 14.07 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001768/1.248, allocations: 475.2 kB / 0.6717 GB, free: 13.8 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.013/1.261, allocations: 3.914 MB / 0.6755 GB, free: 10.48 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/1.261, allocations: 0 / 0.6755 GB, free: 10.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.065e-06/1.261, allocations: 0 / 0.6755 GB, free: 10.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.124e-05/1.261, allocations: 0 / 0.6755 GB, free: 10.48 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.01518/1.276, allocations: 2.945 MB / 0.6784 GB, free: 7.691 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.516e-05/1.276, allocations: 8.031 kB / 0.6784 GB, free: 7.684 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001233/1.277, allocations: 250.2 kB / 0.6787 GB, free: 7.535 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006283/1.284, allocations: 441 kB / 0.6791 GB, free: 7.129 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00666/1.29, allocations: 1.862 MB / 0.6809 GB, free: 5.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/1.291, allocations: 126.8 kB / 0.681 GB, free: 5.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007589/1.291, allocations: 160.4 kB / 0.6812 GB, free: 5.578 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007415/1.299, allocations: 2.511 MB / 0.6836 GB, free: 3.695 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.89e-05/1.299, allocations: 6.422 kB / 0.6836 GB, free: 3.691 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003497/1.299, allocations: 73.58 kB / 0.6837 GB, free: 3.672 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004413/1.3, allocations: 189.4 kB / 0.6839 GB, free: 3.508 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007106/1.307, allocations: 2.211 MB / 0.686 GB, free: 2.027 MB / 442.7 MB 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.02654/1.334, allocations: 10.72 MB / 0.6965 GB, free: 8.469 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005675/1.339, allocations: 1.772 MB / 0.6982 GB, free: 7.125 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003079/1.342, allocations: 1.02 MB / 0.6992 GB, free: 6.457 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004565/1.347, allocations: 2.433 MB / 0.7016 GB, free: 3.758 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003571/1.351, allocations: 1.142 MB / 0.7027 GB, free: 2.906 MB / 458.7 MB Notification: Performance of pre-optimization done (n=158): time 6.763e-06/1.351, allocations: 4 kB / 0.7027 GB, free: 2.902 MB / 458.7 MB 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=181): time 0.04733/1.398, allocations: 10.5 MB / 0.713 GB, free: 10.69 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/1.398, allocations: 176.2 kB / 0.7132 GB, free: 10.48 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003039/1.401, allocations: 1.481 MB / 0.7146 GB, free: 9.355 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005876/1.402, allocations: 63.52 kB / 0.7147 GB, free: 9.312 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001057/1.403, allocations: 0.8888 MB / 0.7155 GB, free: 8.766 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001311/1.404, allocations: 0.6131 MB / 0.7161 GB, free: 8.238 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000284/1.405, allocations: 41 kB / 0.7162 GB, free: 8.23 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002579/1.405, allocations: 393.6 kB / 0.7165 GB, free: 7.875 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003282/1.408, allocations: 1.009 MB / 0.7175 GB, free: 7.199 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003946/1.412, allocations: 1.5 MB / 0.719 GB, free: 5.895 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003891/1.416, allocations: 1.297 MB / 0.7203 GB, free: 5.051 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.911e-05/1.416, allocations: 4 kB / 0.7203 GB, free: 5.047 MB / 474.7 MB Notification: Performance of matching and sorting (n=271) (initialization): time 0.01043/1.427, allocations: 3.111 MB / 0.7233 GB, free: 2.828 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005012/1.427, allocations: 0.5334 MB / 0.7238 GB, free: 2.156 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.137e-05/1.427, allocations: 12 kB / 0.7238 GB, free: 2.145 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007838/1.428, allocations: 197 kB / 0.724 GB, free: 1.969 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00489/1.433, allocations: 0.5638 MB / 0.7246 GB, free: 1.453 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/1.435, allocations: 2.335 MB / 0.7269 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003872/1.439, allocations: 205.4 kB / 0.7271 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000811/1.44, allocations: 190.8 kB / 0.7272 GB, free: 14.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/1.44, allocations: 8 kB / 0.7272 GB, free: 14.76 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008788/1.449, allocations: 2.854 MB / 0.73 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-05/1.449, allocations: 12 kB / 0.73 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006938/1.45, allocations: 203.2 kB / 0.7302 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004663/1.455, allocations: 0.5558 MB / 0.7308 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/1.457, allocations: 2.336 MB / 0.7331 GB, free: 9.762 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003643/1.461, allocations: 213.5 kB / 0.7333 GB, free: 9.586 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007262/1.461, allocations: 183.7 kB / 0.7334 GB, free: 9.426 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent) * 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.002124/1.463, allocations: 0.6812 MB / 0.7341 GB, free: 8.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007259/1.464, allocations: 209.5 kB / 0.7343 GB, free: 8.723 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/1.477, allocations: 3.496 MB / 0.7377 GB, free: 6.188 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.874e-05/1.477, allocations: 20 kB / 0.7377 GB, free: 6.168 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/1.477, allocations: 0 / 0.7377 GB, free: 6.168 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007258/1.484, allocations: 2.723 MB / 0.7404 GB, free: 3.906 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02228/1.506, allocations: 7.448 MB / 0.7477 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-05/1.507, allocations: 8 kB / 0.7477 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003908/1.51, allocations: 449.5 kB / 0.7481 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000838/1.511, allocations: 183.8 kB / 0.7483 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000541/1.512, allocations: 107.9 kB / 0.7484 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003265/1.515, allocations: 3.072 MB / 0.7514 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.058e-05/1.515, allocations: 10.62 kB / 0.7514 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/1.528, allocations: 4.202 MB / 0.7555 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002165/1.53, allocations: 0.5217 MB / 0.756 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008307/1.531, allocations: 59.98 kB / 0.7561 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002832/1.534, allocations: 127.7 kB / 0.7562 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006978/1.535, allocations: 175.8 kB / 0.7564 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004687/1.535, allocations: 167.3 kB / 0.7565 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002226/1.537, allocations: 0.9762 MB / 0.7575 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.21e-07/1.537, allocations: 0 / 0.7575 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007229/1.545, allocations: 1.648 MB / 0.7591 GB, free: 156 kB / 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: 10 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent) * Number of discrete states: 10 (valveOpening2.last,valveOpening2.nextEvent,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.last,valveOpening1.nextEvent,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.01775/1.562, allocations: 5.86 MB / 0.7648 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0136/1.576, allocations: 4.287 MB / 0.769 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/1.576, allocations: 0 / 0.769 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004365/1.58, allocations: 1.512 MB / 0.7705 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008517/1.589, allocations: 0.9509 MB / 0.7714 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3172/1.906, allocations: 15.64 MB / 0.7867 GB, free: 218.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001925/1.908, allocations: 1.711 MB / 0.7883 GB, free: 218 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008876/1.917, allocations: 1.385 MB / 0.7897 GB, free: 218 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003341/1.921, allocations: 0.9765 MB / 0.7906 GB, free: 217.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.193e-06/1.921, allocations: 0 / 0.7906 GB, free: 217.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2153/2.136, allocations: 74.7 MB / 0.8636 GB, free: 168.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002813/2.136, allocations: 267.6 kB / 0.8638 GB, free: 168.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.186/8.322, allocations: 0 / 0.8638 GB, free: 168.3 MB / 0.5105 GB