Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues.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.DynamicPipeInitialValues,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestOverdeterminedInitial_DynamicPipeInitialValues",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.01138/0.01138, 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.001195/0.001195, allocations: 166.4 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.763/1.763, allocations: 170.9 MB / 187.5 MB, free: 1.016 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.2597/0.2597, allocations: 38.09 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004823/0.0004824, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1066, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues): time 0.0651/0.1717, allocations: 39.96 MB / 412.2 MB, free: 4.785 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3507/0.5224, allocations: 22.33 MB / 434.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.5241, allocations: 37.56 kB / 434.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002595/0.5267, allocations: 0.5073 MB / 435.1 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01978/0.5465, allocations: 4.516 MB / 439.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01701/0.5636, allocations: 4.093 MB / 443.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005125/0.5687, allocations: 2.404 MB / 446.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002388/0.5712, allocations: 0.8168 MB / 447 MB, free: 11.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1503/0.7215, allocations: 50.7 MB / 497.7 MB, free: 8.762 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.05927/0.7808, allocations: 19.86 MB / 0.5054 GB, free: 6.449 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005363/0.7814, allocations: 80 kB / 0.5055 GB, free: 6.371 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02511/0.8065, allocations: 8.073 MB / 0.5133 GB, free: 60 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001381/0.8079, allocations: 0.585 MB / 0.5139 GB, free: 15.67 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.809, allocations: 431.1 kB / 0.5143 GB, free: 15.41 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01423/0.8233, allocations: 5.087 MB / 0.5193 GB, free: 11.06 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.8234, allocations: 0.8438 kB / 0.5193 GB, free: 11.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.8234, allocations: 0 / 0.5193 GB, free: 11.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001083/0.8235, allocations: 0 / 0.5193 GB, free: 11.06 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.01355/0.837, allocations: 2.844 MB / 0.5221 GB, free: 8.379 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.751e-05/0.8371, allocations: 8.031 kB / 0.5221 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000861/0.838, allocations: 265.1 kB / 0.5223 GB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006877/0.8449, allocations: 0.6404 MB / 0.523 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003641/0.8486, allocations: 1.13 MB / 0.5241 GB, free: 6.766 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002394/0.8489, allocations: 157.2 kB / 0.5242 GB, free: 6.676 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004659/0.8493, allocations: 158 kB / 0.5244 GB, free: 6.574 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01107/0.8604, allocations: 3.334 MB / 0.5276 GB, free: 4.023 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.115e-05/0.8605, allocations: 7.094 kB / 0.5276 GB, free: 4.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003195/0.8609, allocations: 68.59 kB / 0.5277 GB, free: 4.004 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003778/0.8613, allocations: 199.8 kB / 0.5279 GB, free: 3.832 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01283/0.8741, allocations: 3.29 MB / 0.5311 GB, free: 1.473 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.02896/0.9031, allocations: 13.36 MB / 0.5441 GB, free: 5.359 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009108/0.9123, allocations: 2.209 MB / 0.5463 GB, free: 3.699 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5133/1.426, allocations: 62.47 MB / 0.6073 GB, free: 172.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006764/1.432, allocations: 1.63 MB / 0.6089 GB, free: 172.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=143): time 5.43e-06/1.432, allocations: 0 / 0.6089 GB, free: 172.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=163): time 0.04562/1.478, allocations: 10.59 MB / 0.6192 GB, free: 167.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/1.478, allocations: 338.4 kB / 0.6196 GB, free: 167 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/1.481, allocations: 1.231 MB / 0.6208 GB, free: 166.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000416/1.481, allocations: 52.7 kB / 0.6208 GB, free: 166.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007138/1.482, allocations: 0.804 MB / 0.6216 GB, free: 165.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007687/1.483, allocations: 0.5619 MB / 0.6222 GB, free: 165.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000215/1.483, allocations: 48.44 kB / 0.6222 GB, free: 165.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/1.483, allocations: 387.7 kB / 0.6226 GB, free: 164.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00376/1.487, allocations: 1.187 MB / 0.6237 GB, free: 164.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004263/1.491, allocations: 1.765 MB / 0.6255 GB, free: 162.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 11.52/13.01, allocations: 0.9767 GB / 1.602 GB, free: 161.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-05/13.01, allocations: 4 kB / 1.602 GB, free: 161.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01985/13.03, allocations: 3.495 MB / 1.606 GB, free: 158.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002008/13.03, allocations: 6.882 MB / 1.612 GB, free: 151.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.114e-05/13.03, allocations: 16 kB / 1.612 GB, free: 151.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004028/13.03, allocations: 467.5 kB / 1.613 GB, free: 151 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006143/13.04, allocations: 0.5304 MB / 1.613 GB, free: 150.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004228/13.04, allocations: 3.31 MB / 1.617 GB, free: 147 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005965/13.05, allocations: 252.2 kB / 1.617 GB, free: 146.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005484/13.05, allocations: 108.5 kB / 1.617 GB, free: 146.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/13.05, allocations: 8.578 kB / 1.617 GB, free: 146.7 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01047/13.06, allocations: 3.223 MB / 1.62 GB, free: 143.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.628e-05/13.06, allocations: 16 kB / 1.62 GB, free: 143.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002437/13.06, allocations: 460.1 kB / 1.62 GB, free: 143 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004166/13.07, allocations: 0.5187 MB / 1.621 GB, free: 142.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002803/13.07, allocations: 3.31 MB / 1.624 GB, free: 139 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003464/13.07, allocations: 246 kB / 1.624 GB, free: 138.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004942/13.07, allocations: 104 kB / 1.625 GB, free: 138.7 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 1 initial equations are redundant, so they are removed from the initialization sytem: pipe.mediums[1].p = 10000000.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 16 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,sink.state.phase,sink.medium.phase,pipe.state_b.phase,pipe.state_a.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 8,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001934/13.08, allocations: 0.6814 MB / 1.625 GB, free: 138 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005119/13.08, allocations: 156.6 kB / 1.625 GB, free: 137.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01513/13.09, allocations: 6.648 MB / 1.632 GB, free: 131.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.919e-05/13.09, allocations: 75.83 kB / 1.632 GB, free: 131.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/13.09, allocations: 8.125 kB / 1.632 GB, free: 131.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01104/13.1, allocations: 5.208 MB / 1.637 GB, free: 125.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01978/13.12, allocations: 9.077 MB / 1.646 GB, free: 116.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.568e-05/13.12, allocations: 4.188 kB / 1.646 GB, free: 116.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003228/13.13, allocations: 403.5 kB / 1.646 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00337/13.13, allocations: 0.5658 MB / 1.647 GB, free: 115.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003972/13.13, allocations: 55.97 kB / 1.647 GB, free: 115.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002598/13.13, allocations: 3.407 MB / 1.65 GB, free: 112.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/13.13, allocations: 4 kB / 1.65 GB, free: 112.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01683/13.15, allocations: 6.787 MB / 1.657 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002122/13.15, allocations: 0.7541 MB / 1.658 GB, free: 104.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006849/13.15, allocations: 55.97 kB / 1.658 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003059/13.16, allocations: 187.6 kB / 1.658 GB, free: 104.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007091/13.16, allocations: 178.8 kB / 1.658 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002544/13.16, allocations: 63.94 kB / 1.658 GB, free: 104.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002444/13.16, allocations: 1.188 MB / 1.659 GB, free: 102.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.11e-07/13.16, allocations: 0 / 1.659 GB, free: 102.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008707/13.17, allocations: 2.133 MB / 1.661 GB, free: 100.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h,pipe.mediums[3].p,pipe.mediums[3].h,pipe.mediums[4].p,pipe.mediums[4].h,pipe.mediums[5].p,pipe.mediums[5].h) * Number of discrete variables: 36 ($cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse17.phase,$cse17.region,$cse18.region3boundary,$cse19.region3boundary,$cse20.phase,$cse20.region,$cse25.phase,$cse25.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse34.phase,$cse34.region,$whenCondition1,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,m_flow_initial,$cse5.phase,$cse5.region,source.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 8,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0249/13.19, allocations: 9.248 MB / 1.67 GB, free: 91.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01428/13.21, allocations: 5.03 MB / 1.675 GB, free: 86.78 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/13.21, allocations: 0 / 1.675 GB, free: 86.78 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005405/13.21, allocations: 2.248 MB / 1.677 GB, free: 84.54 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006126/13.22, allocations: 0.7043 MB / 1.678 GB, free: 83.85 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0231/13.24, allocations: 21.78 MB / 1.699 GB, free: 61.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001843/13.24, allocations: 2.002 MB / 1.701 GB, free: 59.63 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006979/13.25, allocations: 2.281 MB / 1.704 GB, free: 57.35 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002358/13.25, allocations: 1.069 MB / 1.705 GB, free: 56.28 MB / 458.7 MB Notification: Performance of SimCode: time 1.052e-06/13.25, allocations: 4 kB / 1.705 GB, free: 56.28 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4844/13.74, allocations: 96.21 MB / 1.799 GB, free: 148.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003142/13.74, allocations: 276.1 kB / 1.799 GB, free: 147.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.045/22.78, allocations: 3.938 kB / 1.799 GB, free: 147.8 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues_res.mat does not exist to compare? outputFormat=mat