Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization.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.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestOverdeterminedInitial_DynamicPipeLumpedPressureInitialization",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.016/0.01601, allocations: 104.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.002036/0.002035, allocations: 170.1 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.774/1.774, allocations: 170.9 MB / 187.5 MB, free: 0.9883 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.2774/0.2774, allocations: 38.1 MB / 265.1 MB, free: 3.945 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005018/0.0005025, allocations: 8 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1041, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization): time 0.07057/0.1747, allocations: 39.96 MB / 412.2 MB, free: 4.773 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3588/0.5336, allocations: 22.34 MB / 434.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.5354, allocations: 38.28 kB / 434.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002605/0.5381, allocations: 0.5004 MB / 435.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02126/0.5594, allocations: 4.521 MB / 439.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01794/0.5774, allocations: 4.093 MB / 443.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005157/0.5826, allocations: 2.253 MB / 446 MB, free: 12.08 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002412/0.5851, allocations: 0.7787 MB / 446.8 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1575/0.7426, allocations: 50.62 MB / 497.4 MB, free: 8.906 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06506/0.8077, allocations: 19.79 MB / 0.5051 GB, free: 6.648 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007273/0.8085, allocations: 72 kB / 0.5051 GB, free: 6.578 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0279/0.8365, allocations: 8.078 MB / 0.513 GB, free: 264 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00157/0.8381, allocations: 0.492 MB / 0.5135 GB, free: 15.94 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001531/0.8397, allocations: 367.8 kB / 0.5138 GB, free: 15.72 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01435/0.8541, allocations: 4.785 MB / 0.5185 GB, free: 11.63 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.8542, allocations: 0 / 0.5185 GB, free: 11.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.8542, allocations: 0 / 0.5185 GB, free: 11.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.973e-05/0.8543, allocations: 0 / 0.5185 GB, free: 11.63 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.01197/0.8663, allocations: 2.542 MB / 0.521 GB, free: 9.203 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.566e-05/0.8664, allocations: 12.02 kB / 0.521 GB, free: 9.191 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001168/0.8676, allocations: 213.5 kB / 0.5212 GB, free: 9.059 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006753/0.8744, allocations: 0.5686 MB / 0.5218 GB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003456/0.8779, allocations: 1.014 MB / 0.5228 GB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002822/0.8782, allocations: 130.6 kB / 0.5229 GB, free: 7.668 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007157/0.8789, allocations: 140.1 kB / 0.523 GB, free: 7.574 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01077/0.8897, allocations: 2.714 MB / 0.5257 GB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.932e-05/0.8899, allocations: 13.69 kB / 0.5257 GB, free: 5.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003527/0.8902, allocations: 56.86 kB / 0.5257 GB, free: 5.395 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000278/0.8905, allocations: 128.2 kB / 0.5259 GB, free: 5.281 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01178/0.9023, allocations: 2.696 MB / 0.5285 GB, free: 3.289 MB / 394.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.0246/0.927, allocations: 10.91 MB / 0.5391 GB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008175/0.9352, allocations: 1.848 MB / 0.541 GB, free: 7.895 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5548/1.49, allocations: 62.46 MB / 0.602 GB, free: 153.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006222/1.496, allocations: 1.423 MB / 0.6033 GB, free: 153.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=127): time 6.152e-06/1.496, allocations: 0 / 0.6033 GB, free: 153.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=151): time 0.03523/1.532, allocations: 8.446 MB / 0.6116 GB, free: 152.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/1.532, allocations: 283.2 kB / 0.6119 GB, free: 151.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/1.534, allocations: 0.998 MB / 0.6128 GB, free: 151.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005169/1.534, allocations: 54.92 kB / 0.6129 GB, free: 151.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006411/1.535, allocations: 0.6721 MB / 0.6135 GB, free: 151.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007796/1.536, allocations: 0.5141 MB / 0.614 GB, free: 151 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/1.536, allocations: 42.22 kB / 0.6141 GB, free: 151 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/1.536, allocations: 379 kB / 0.6144 GB, free: 150.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003193/1.539, allocations: 1.005 MB / 0.6154 GB, free: 150.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003707/1.543, allocations: 1.507 MB / 0.6169 GB, free: 150.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.372/7.915, allocations: 0.549 GB / 1.166 GB, free: 98.79 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/7.915, allocations: 4 kB / 1.166 GB, free: 98.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01063/7.926, allocations: 3.432 MB / 1.169 GB, free: 95.54 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001199/7.927, allocations: 5.757 MB / 1.175 GB, free: 89.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.263e-05/7.927, allocations: 12 kB / 1.175 GB, free: 89.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02054/7.948, allocations: 2.661 MB / 1.178 GB, free: 86.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/7.95, allocations: 271.6 kB / 1.178 GB, free: 86.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008309/7.958, allocations: 3.271 MB / 1.181 GB, free: 83.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002987/7.961, allocations: 214.8 kB / 1.181 GB, free: 82.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003121/7.962, allocations: 91.98 kB / 1.181 GB, free: 82.84 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/7.962, allocations: 4.781 kB / 1.181 GB, free: 82.84 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0113/7.973, allocations: 3.394 MB / 1.185 GB, free: 79.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.347e-05/7.973, allocations: 19.98 kB / 1.185 GB, free: 79.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01362/7.987, allocations: 2.062 MB / 1.187 GB, free: 77.35 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/7.989, allocations: 295.5 kB / 1.187 GB, free: 77.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007366/7.996, allocations: 2.989 MB / 1.19 GB, free: 74.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/7.999, allocations: 203.6 kB / 1.19 GB, free: 73.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002997/7.999, allocations: 91.98 kB / 1.19 GB, free: 73.79 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 Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: $DER.pipe.mediums[2].p = 0.0 $DER.pipe.mediums[3].p = 0.0 $DER.pipe.mediums[4].p = 0.0 $DER.pipe.mediums[1].p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 17 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,pipe.mediums[1].phase,pipe.mediums[2].phase,pipe.mediums[4].phase,pipe.mediums[5].phase,pipe.statesFM[2].phase,sink.state.phase,sink.medium.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 146 * 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 {6 79} Notification: Performance of prepare postOptimizeDAE: time 0.001383/8, allocations: 0.6063 MB / 1.191 GB, free: 73.19 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000409/8.001, allocations: 139.2 kB / 1.191 GB, free: 73.12 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/8.013, allocations: 5.825 MB / 1.196 GB, free: 67.32 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.118e-05/8.013, allocations: 63.84 kB / 1.197 GB, free: 67.26 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/8.013, allocations: 0 / 1.197 GB, free: 67.26 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008837/8.021, allocations: 4.721 MB / 1.201 GB, free: 62.42 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01673/8.038, allocations: 8.162 MB / 1.209 GB, free: 54.15 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-05/8.038, allocations: 7.984 kB / 1.209 GB, free: 54.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001929/8.04, allocations: 251.8 kB / 1.209 GB, free: 53.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008145/8.048, allocations: 1.33 MB / 1.211 GB, free: 52.56 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003251/8.049, allocations: 55.97 kB / 1.211 GB, free: 52.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003744/8.053, allocations: 2.191 MB / 1.213 GB, free: 50.28 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/8.053, allocations: 4 kB / 1.213 GB, free: 50.28 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0122/8.065, allocations: 5.777 MB / 1.219 GB, free: 44.35 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001588/8.066, allocations: 0.6096 MB / 1.219 GB, free: 43.72 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004096/8.067, allocations: 39.98 kB / 1.219 GB, free: 43.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002117/8.069, allocations: 169.8 kB / 1.219 GB, free: 43.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004455/8.07, allocations: 161 kB / 1.219 GB, free: 43.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/8.07, allocations: 55.97 kB / 1.22 GB, free: 43.31 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001741/8.071, allocations: 0.9498 MB / 1.22 GB, free: 42.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.11e-07/8.071, allocations: 0 / 1.22 GB, free: 42.36 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006894/8.078, allocations: 1.963 MB / 1.222 GB, free: 40.52 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (pipe.mediums[1].h,pipe.mediums[2].h,pipe.mediums[3].h,pipe.mediums[4].h,pipe.mediums[5].p,pipe.mediums[5].h) * Number of discrete variables: 31 ($cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse22.phase,$cse22.region,$whenCondition2,$whenCondition1,pipe.mediums[1].phase,pipe.mediums[2].phase,pipe.mediums[4].phase,pipe.mediums[5].phase,pipe.statesFM[2].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 (124): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 1 * 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 {10 39} Notification: Performance of Backend phase and start with SimCode phase: time 0.01991/8.098, allocations: 8.355 MB / 1.231 GB, free: 32.31 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01208/8.11, allocations: 4.363 MB / 1.235 GB, free: 27.95 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.986e-06/8.11, allocations: 0 / 1.235 GB, free: 27.95 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004612/8.115, allocations: 1.939 MB / 1.237 GB, free: 26.02 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005511/8.121, allocations: 0.6578 MB / 1.237 GB, free: 25.38 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2888/8.409, allocations: 17.94 MB / 1.255 GB, free: 164.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001966/8.411, allocations: 1.743 MB / 1.257 GB, free: 164 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004531/8.416, allocations: 1.298 MB / 1.258 GB, free: 164 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/8.418, allocations: 0.8319 MB / 1.259 GB, free: 164 MB / 458.7 MB Notification: Performance of SimCode: time 1.983e-06/8.418, allocations: 0 / 1.259 GB, free: 164 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1975/8.615, allocations: 95.8 MB / 1.352 GB, free: 80.77 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002703/8.616, allocations: 300.9 kB / 1.352 GB, free: 80.41 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.226/16.84, allocations: 3.906 kB / 1.352 GB, free: 80.4 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization_res.mat does not exist to compare? outputFormat=mat