Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01215/0.01215, allocations: 106.5 kB / 15.06 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.2.mo): time 0.001466/0.001465, allocations: 184.9 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.225/2.225, allocations: 194.6 MB / 211.3 MB, free: 11.03 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3258/0.3258, allocations: 40.04 MB / 296.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000655/0.0006551, allocations: 19.88 kB / 361.1 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1284, allocations: 54.88 MB / 416 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization): time 0.4061/0.5346, allocations: 54.34 MB / 470.4 MB, free: 32.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04615/0.5808, allocations: 26.8 MB / 497.2 MB, free: 18.04 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003165/0.584, allocations: 45.28 kB / 497.2 MB, free: 18.01 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003352/0.5875, allocations: 0.6017 MB / 497.8 MB, free: 17.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02361/0.6111, allocations: 5.299 MB / 0.4913 GB, free: 14.9 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02183/0.633, allocations: 4.542 MB / 0.4958 GB, free: 12.69 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005643/0.6387, allocations: 1.971 MB / 0.4977 GB, free: 11.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002174/0.6409, allocations: 0.7148 MB / 0.4984 GB, free: 11.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.149/0.7899, allocations: 50.21 MB / 0.5474 GB, free: 7.125 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.07551/0.8655, allocations: 25.47 MB / 0.5723 GB, free: 13.64 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004594/0.866, allocations: 64 kB / 0.5723 GB, free: 13.58 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02797/0.894, allocations: 8.865 MB / 0.581 GB, free: 4.703 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.8952, allocations: 363 kB / 0.5814 GB, free: 4.348 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008743/0.8961, allocations: 309 kB / 0.5816 GB, free: 4.039 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01483/0.9109, allocations: 4.947 MB / 0.5865 GB, free: 15.08 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.911, allocations: 0 / 0.5865 GB, free: 15.08 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.817e-06/0.911, allocations: 3.938 kB / 0.5865 GB, free: 15.08 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.56e-05/0.9111, allocations: 0 / 0.5865 GB, free: 15.08 MB / 458.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.01014/0.9212, allocations: 2.372 MB / 0.5888 GB, free: 12.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.9213, allocations: 8.031 kB / 0.5888 GB, free: 12.65 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000573/0.9219, allocations: 164 kB / 0.589 GB, free: 12.48 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004758/0.9266, allocations: 477.9 kB / 0.5894 GB, free: 12.01 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002713/0.9294, allocations: 0.9416 MB / 0.5903 GB, free: 11.03 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002304/0.9297, allocations: 145.3 kB / 0.5905 GB, free: 10.87 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003321/0.93, allocations: 95.98 kB / 0.5906 GB, free: 10.78 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006663/0.9367, allocations: 1.869 MB / 0.5924 GB, free: 8.805 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.332e-05/0.9368, allocations: 11.92 kB / 0.5924 GB, free: 8.793 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002149/0.9371, allocations: 43.98 kB / 0.5924 GB, free: 8.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001881/0.9373, allocations: 77.95 kB / 0.5925 GB, free: 8.672 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007397/0.9447, allocations: 1.791 MB / 0.5943 GB, free: 6.879 MB / 458.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.02052/0.9652, allocations: 8.56 MB / 0.6026 GB, free: 13.72 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007986/0.9733, allocations: 1.414 MB / 0.604 GB, free: 12.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5488/1.522, allocations: 64.15 MB / 0.6667 GB, free: 113.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006206/1.528, allocations: 0.8859 MB / 0.6675 GB, free: 113.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=82): time 8.206e-06/1.528, allocations: 0 / 0.6675 GB, free: 113.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=86): time 0.02903/1.558, allocations: 4.621 MB / 0.672 GB, free: 112.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001668/1.558, allocations: 406.9 kB / 0.6724 GB, free: 111.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002959/1.561, allocations: 1.05 MB / 0.6734 GB, free: 111.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002814/1.561, allocations: 46.58 kB / 0.6735 GB, free: 111.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007194/1.562, allocations: 0.5691 MB / 0.674 GB, free: 110.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004878/1.562, allocations: 306.5 kB / 0.6743 GB, free: 110.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/1.562, allocations: 25.25 kB / 0.6744 GB, free: 110.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/1.563, allocations: 358.3 kB / 0.6747 GB, free: 110.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00267/1.565, allocations: 0.5377 MB / 0.6752 GB, free: 109.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00339/1.569, allocations: 1.03 MB / 0.6762 GB, free: 109.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003128/1.572, allocations: 0.7033 MB / 0.6769 GB, free: 108.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.661e-05/1.572, allocations: 4.469 kB / 0.6769 GB, free: 108.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.007985/1.58, allocations: 1.952 MB / 0.6788 GB, free: 107.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001503/1.581, allocations: 5.578 MB / 0.6843 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.929e-05/1.582, allocations: 15.19 kB / 0.6843 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01454/1.596, allocations: 1.145 MB / 0.6854 GB, free: 101.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/1.599, allocations: 248.7 kB / 0.6857 GB, free: 101.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004473/1.603, allocations: 1.511 MB / 0.6871 GB, free: 100.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002823/1.606, allocations: 122.4 kB / 0.6872 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002397/1.606, allocations: 76.59 kB / 0.6873 GB, free: 100.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.606, allocations: 6.406 kB / 0.6873 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006984/1.613, allocations: 1.698 MB / 0.689 GB, free: 99.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/1.613, allocations: 18.47 kB / 0.689 GB, free: 99.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002493/1.616, allocations: 400.8 kB / 0.6894 GB, free: 99.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/1.617, allocations: 288.4 kB / 0.6897 GB, free: 99.47 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001968/1.619, allocations: 1.076 MB / 0.6907 GB, free: 98.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/1.621, allocations: 124.8 kB / 0.6908 GB, free: 98.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/1.622, allocations: 71.97 kB / 0.6909 GB, free: 98.18 MB / 474.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.001021/1.623, allocations: 465.7 kB / 0.6913 GB, free: 97.71 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/1.623, allocations: 127.1 kB / 0.6915 GB, free: 97.59 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007273/1.63, allocations: 4.058 MB / 0.6954 GB, free: 93.53 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.798e-05/1.63, allocations: 43.94 kB / 0.6955 GB, free: 93.49 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.63, allocations: 6.688 kB / 0.6955 GB, free: 93.48 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/1.63, allocations: 3.984 kB / 0.6955 GB, free: 93.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009057/1.639, allocations: 5.533 MB / 0.7009 GB, free: 87.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/1.639, allocations: 4 kB / 0.7009 GB, free: 87.87 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/1.641, allocations: 167.8 kB / 0.701 GB, free: 87.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01046/1.651, allocations: 1.57 MB / 0.7026 GB, free: 86.14 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/1.651, allocations: 29.84 kB / 0.7026 GB, free: 86.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/1.653, allocations: 2.083 MB / 0.7046 GB, free: 83.97 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/1.653, allocations: 0 / 0.7046 GB, free: 83.97 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007131/1.66, allocations: 3.989 MB / 0.7085 GB, free: 79.84 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/1.662, allocations: 0.5232 MB / 0.709 GB, free: 79.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003256/1.662, allocations: 28 kB / 0.7091 GB, free: 79.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/1.663, allocations: 91.77 kB / 0.7092 GB, free: 79.18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/1.664, allocations: 80.84 kB / 0.7092 GB, free: 79.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/1.664, allocations: 35.98 kB / 0.7093 GB, free: 79.07 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001916/1.666, allocations: 1.05 MB / 0.7103 GB, free: 78.02 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.874e-06/1.666, allocations: 1.312 kB / 0.7103 GB, free: 78.02 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006475/1.672, allocations: 1.868 MB / 0.7121 GB, free: 76.3 MB / 474.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.0156/1.688, allocations: 6.103 MB / 0.7181 GB, free: 70.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007416/1.695, allocations: 2.486 MB / 0.7205 GB, free: 67.92 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/1.695, allocations: 4 kB / 0.7205 GB, free: 67.91 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002297/1.698, allocations: 1.047 MB / 0.7215 GB, free: 66.86 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005312/1.703, allocations: 0.6175 MB / 0.7221 GB, free: 66.27 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/1.717, allocations: 15.59 MB / 0.7374 GB, free: 50.37 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/1.718, allocations: 1.48 MB / 0.7388 GB, free: 48.86 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003208/1.721, allocations: 0.9961 MB / 0.7398 GB, free: 47.88 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/1.722, allocations: 0.7063 MB / 0.7405 GB, free: 47.17 MB / 474.7 MB Notification: Performance of SimCode: time 2.234e-06/1.722, allocations: 0 / 0.7405 GB, free: 47.17 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5035/2.226, allocations: 82.97 MB / 0.8215 GB, free: 134.5 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/2.226, allocations: 273.6 kB / 0.8218 GB, free: 134.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.523/10.75, allocations: 0 / 0.8218 GB, free: 134.2 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization_res.mat does not exist to compare? outputFormat=mat