Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_LumpedPipeInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.0182/0.0182, allocations: 103.5 kB / 15.05 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.002572/0.002572, allocations: 164.9 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.903/1.903, allocations: 170.9 MB / 187.5 MB, free: 1 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.3385/0.3385, allocations: 38.08 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004892/0.0004894, allocations: 16 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1006, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization): time 0.09099/0.1916, allocations: 53.93 MB / 426.2 MB, free: 6.793 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3541/0.5458, allocations: 26.59 MB / 452.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002367/0.5482, allocations: 47.31 kB / 452.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003053/0.5513, allocations: 0.6002 MB / 453.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02362/0.575, allocations: 5.234 MB / 458.7 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02215/0.5972, allocations: 4.527 MB / 463.2 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00498/0.6022, allocations: 1.946 MB / 465.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/0.6041, allocations: 0.6998 MB / 465.9 MB, free: 11.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1527/0.7569, allocations: 50.04 MB / 0.5038 GB, free: 3.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.07917/0.8361, allocations: 25.26 MB / 0.5285 GB, free: 11.47 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005217/0.8367, allocations: 64 kB / 0.5285 GB, free: 11.41 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02885/0.8655, allocations: 8.744 MB / 0.5371 GB, free: 2.805 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001207/0.8668, allocations: 359.6 kB / 0.5374 GB, free: 2.465 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009769/0.8678, allocations: 309 kB / 0.5377 GB, free: 2.156 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01533/0.8832, allocations: 4.902 MB / 0.5425 GB, free: 13.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.8832, allocations: 4 kB / 0.5425 GB, free: 13.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.8833, allocations: 0 / 0.5425 GB, free: 13.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.721e-05/0.8833, allocations: 0 / 0.5425 GB, free: 13.55 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.01067/0.894, allocations: 2.326 MB / 0.5448 GB, free: 11.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.8941, allocations: 11.97 kB / 0.5448 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006185/0.8947, allocations: 161.8 kB / 0.5449 GB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004794/0.8995, allocations: 455.9 kB / 0.5454 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002922/0.9025, allocations: 0.9451 MB / 0.5463 GB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002692/0.9029, allocations: 151.1 kB / 0.5464 GB, free: 9.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003362/0.9032, allocations: 89.95 kB / 0.5465 GB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006848/0.9101, allocations: 1.872 MB / 0.5484 GB, free: 7.445 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.744e-05/0.9102, allocations: 4 kB / 0.5484 GB, free: 7.441 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002224/0.9104, allocations: 44.38 kB / 0.5484 GB, free: 7.402 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001865/0.9106, allocations: 81.89 kB / 0.5485 GB, free: 7.324 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007685/0.9183, allocations: 1.788 MB / 0.5502 GB, free: 5.539 MB / 410.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.02066/0.939, allocations: 8.568 MB / 0.5586 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005629/0.9447, allocations: 1.399 MB / 0.56 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5508/1.496, allocations: 64.08 MB / 0.6225 GB, free: 145.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003583/1.499, allocations: 0.8886 MB / 0.6234 GB, free: 145.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=82): time 4.91e-06/1.499, allocations: 3.844 kB / 0.6234 GB, free: 145.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=86): time 0.0188/1.518, allocations: 4.608 MB / 0.6279 GB, free: 144.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/1.518, allocations: 407.1 kB / 0.6283 GB, free: 143.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/1.52, allocations: 1.054 MB / 0.6293 GB, free: 143.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002754/1.521, allocations: 41.23 kB / 0.6294 GB, free: 143.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005576/1.521, allocations: 0.5737 MB / 0.6299 GB, free: 143.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003696/1.522, allocations: 305.4 kB / 0.6302 GB, free: 143.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/1.522, allocations: 26.47 kB / 0.6302 GB, free: 143.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/1.522, allocations: 352.2 kB / 0.6306 GB, free: 143 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001845/1.524, allocations: 0.5407 MB / 0.6311 GB, free: 142.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/1.526, allocations: 1.027 MB / 0.6321 GB, free: 142.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002486/1.528, allocations: 0.7137 MB / 0.6328 GB, free: 142.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.629e-05/1.528, allocations: 4 kB / 0.6328 GB, free: 142.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006836/1.535, allocations: 1.951 MB / 0.6347 GB, free: 141.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001347/1.537, allocations: 5.574 MB / 0.6402 GB, free: 135.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.995e-05/1.537, allocations: 12 kB / 0.6402 GB, free: 135.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01074/1.548, allocations: 1.152 MB / 0.6413 GB, free: 134.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/1.549, allocations: 251.8 kB / 0.6415 GB, free: 134.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003462/1.553, allocations: 1.501 MB / 0.643 GB, free: 133 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/1.555, allocations: 124.2 kB / 0.6431 GB, free: 132.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/1.556, allocations: 73.34 kB / 0.6432 GB, free: 132.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/1.556, allocations: 4 kB / 0.6432 GB, free: 132.9 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00578/1.561, allocations: 1.703 MB / 0.6449 GB, free: 131.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.788e-05/1.561, allocations: 12 kB / 0.6449 GB, free: 131.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002623/1.564, allocations: 409.6 kB / 0.6453 GB, free: 131.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002071/1.566, allocations: 281.3 kB / 0.6455 GB, free: 131.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/1.568, allocations: 1.077 MB / 0.6466 GB, free: 130.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/1.571, allocations: 131.1 kB / 0.6467 GB, free: 130.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002283/1.571, allocations: 65.67 kB / 0.6468 GB, free: 130.2 MB / 458.7 MB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 19 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.staticPipe2.flowModel.states[2].phase,pipe.staticPipe2.flowModel.states[1].phase,pipe.staticPipe1.flowModel.states[2].phase,pipe.staticPipe1.flowModel.states[1].phase,pipe.volume.regularFlow[1],pipe.volume.regularFlow[2],pipe.volume.heatTransfer.states[1].phase,pipe.volume.inFlow[2],pipe.volume.inFlow[1],sink.state.phase,sink.medium.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 35} Notification: Performance of prepare postOptimizeDAE: time 0.001111/1.572, allocations: 472.1 kB / 0.6472 GB, free: 129.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003326/1.572, allocations: 133.9 kB / 0.6473 GB, free: 129.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008018/1.58, allocations: 4.05 MB / 0.6513 GB, free: 127.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-05/1.581, allocations: 46 kB / 0.6513 GB, free: 127 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/1.581, allocations: 4.875 kB / 0.6513 GB, free: 127 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.641e-05/1.581, allocations: 7.984 kB / 0.6514 GB, free: 127 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/1.593, allocations: 5.54 MB / 0.6568 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.194e-05/1.593, allocations: 0 / 0.6568 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002261/1.595, allocations: 179.3 kB / 0.6569 GB, free: 121.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01705/1.612, allocations: 1.556 MB / 0.6585 GB, free: 120.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002988/1.612, allocations: 27.98 kB / 0.6585 GB, free: 120.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003483/1.616, allocations: 2.079 MB / 0.6605 GB, free: 118.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/1.616, allocations: 2.625 kB / 0.6605 GB, free: 118.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01235/1.628, allocations: 3.99 MB / 0.6644 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00194/1.63, allocations: 0.5309 MB / 0.6649 GB, free: 113.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006057/1.631, allocations: 20.88 kB / 0.6649 GB, free: 113.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002761/1.634, allocations: 99.92 kB / 0.665 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003986/1.634, allocations: 75.94 kB / 0.6651 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001705/1.634, allocations: 39.98 kB / 0.6652 GB, free: 113.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003417/1.638, allocations: 1.05 MB / 0.6662 GB, free: 112.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.502e-06/1.638, allocations: 4 kB / 0.6662 GB, free: 112.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01142/1.649, allocations: 1.853 MB / 0.668 GB, free: 110.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (pipe.volume.medium.p,pipe.volume.medium.h) * Number of discrete variables: 25 ($cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse22.phase,$cse22.region,$whenCondition2,$whenCondition1,pipe.volume.heatTransfer.states[1].phase,m_flow_initial,$cse3.phase,$cse3.region,source.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.02764/1.677, allocations: 6.101 MB / 0.674 GB, free: 104.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01303/1.69, allocations: 2.487 MB / 0.6764 GB, free: 102.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.845e-05/1.69, allocations: 4.156 kB / 0.6764 GB, free: 102.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004165/1.694, allocations: 1.05 MB / 0.6774 GB, free: 101.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008474/1.703, allocations: 0.6194 MB / 0.678 GB, free: 100.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02006/1.723, allocations: 15.59 MB / 0.6932 GB, free: 84.74 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/1.724, allocations: 1.476 MB / 0.6947 GB, free: 83.23 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003518/1.728, allocations: 0.985 MB / 0.6956 GB, free: 82.26 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001441/1.729, allocations: 0.7024 MB / 0.6963 GB, free: 81.55 MB / 458.7 MB Notification: Performance of SimCode: time 1.312e-06/1.729, allocations: 3.938 kB / 0.6963 GB, free: 81.55 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4723/2.202, allocations: 82.68 MB / 0.7771 GB, free: 170.3 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002913/2.202, allocations: 272.1 kB / 0.7773 GB, free: 170 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/10.27, allocations: 0 / 0.7773 GB, free: 170 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization_res.mat does not exist to compare? outputFormat=mat