Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.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.DynamicPipeClosingValve,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeClosingValve",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.01147/0.01148, allocations: 106.1 kB / 15.06 MB, free: 6.027 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.001332/0.001331, allocations: 182 kB / 15.95 MB, free: 5.953 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.079/2.079, allocations: 194.5 MB / 211.2 MB, free: 11.07 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.2664/0.2664, allocations: 40.04 MB / 296.5 MB, free: 6.281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004878, allocations: 19.98 kB / 361.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1169, allocations: 54.87 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve): time 0.3642/0.4812, allocations: 40.02 MB / 456 MB, free: 32.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03846/0.5197, allocations: 22.51 MB / 478.6 MB, free: 29.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/0.5215, allocations: 38.31 kB / 478.6 MB, free: 29.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00303/0.5246, allocations: 0.5045 MB / 479.1 MB, free: 29.28 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01989/0.5445, allocations: 4.752 MB / 483.8 MB, free: 27.9 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01533/0.5599, allocations: 4.056 MB / 487.9 MB, free: 26.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002998/0.5629, allocations: 1.496 MB / 489.4 MB, free: 25.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008817/0.5638, allocations: 499.5 kB / 489.9 MB, free: 25.44 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02541/0.5892, allocations: 9.145 MB / 499 MB, free: 24.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0392/0.6285, allocations: 14.37 MB / 0.5014 GB, free: 20.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002967/0.6288, allocations: 40 kB / 0.5014 GB, free: 20.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02071/0.6496, allocations: 8.27 MB / 0.5095 GB, free: 13.99 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000545/0.6502, allocations: 267.2 kB / 0.5097 GB, free: 13.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004522/0.6506, allocations: 237.2 kB / 0.51 GB, free: 13.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009719/0.6604, allocations: 4.113 MB / 0.514 GB, free: 9.375 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.6604, allocations: 0 / 0.514 GB, free: 9.375 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.6604, allocations: 0 / 0.514 GB, free: 9.375 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.6605, allocations: 0 / 0.514 GB, free: 9.375 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.006322/0.6668, allocations: 1.933 MB / 0.5159 GB, free: 7.395 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.6668, allocations: 8.031 kB / 0.5159 GB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002101/0.6671, allocations: 132.5 kB / 0.516 GB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003317/0.6704, allocations: 370.5 kB / 0.5164 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.672, allocations: 0.6967 MB / 0.517 GB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-05/0.6721, allocations: 69.98 kB / 0.5171 GB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.6722, allocations: 83.89 kB / 0.5172 GB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004268/0.6765, allocations: 1.457 MB / 0.5186 GB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/0.6766, allocations: 3.938 kB / 0.5186 GB, free: 4.469 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.6767, allocations: 35.98 kB / 0.5186 GB, free: 4.434 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/0.6769, allocations: 61.97 kB / 0.5187 GB, free: 4.371 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004718/0.6816, allocations: 1.342 MB / 0.52 GB, free: 3.027 MB / 378.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.01187/0.6935, allocations: 6.541 MB / 0.5264 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004635/0.6981, allocations: 1.021 MB / 0.5274 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1369/0.8351, allocations: 32.47 MB / 0.5591 GB, free: 6.605 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.35e-05/0.8352, allocations: 43 kB / 0.5591 GB, free: 6.551 MB / 426.7 MB Notification: Performance of pre-optimization done (n=56): time 3.266e-06/0.8352, allocations: 3.938 kB / 0.5592 GB, free: 6.547 MB / 426.7 MB Notification: Performance of matching and sorting (n=60): time 0.01973/0.8549, allocations: 3.317 MB / 0.5624 GB, free: 3.172 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.8551, allocations: 166.8 kB / 0.5625 GB, free: 2.973 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.8565, allocations: 0.7075 MB / 0.5632 GB, free: 2.262 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001442/0.8567, allocations: 37.7 kB / 0.5633 GB, free: 2.219 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004472/0.8572, allocations: 435.5 kB / 0.5637 GB, free: 1.785 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/0.8575, allocations: 205 kB / 0.5639 GB, free: 1.582 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.883e-05/0.8575, allocations: 16 kB / 0.5639 GB, free: 1.566 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.8578, allocations: 394.7 kB / 0.5643 GB, free: 1.172 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/0.8594, allocations: 409.7 kB / 0.5647 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/0.8612, allocations: 0.6176 MB / 0.5653 GB, free: 68 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/0.8629, allocations: 486 kB / 0.5657 GB, free: 15.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/0.863, allocations: 4 kB / 0.5657 GB, free: 15.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004739/0.8677, allocations: 1.362 MB / 0.5671 GB, free: 14.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001102/0.8689, allocations: 2.444 MB / 0.5695 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.8689, allocations: 4 kB / 0.5695 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005515/0.8744, allocations: 0.6773 MB / 0.5701 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.8756, allocations: 163.8 kB / 0.5703 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002777/0.8784, allocations: 1.294 MB / 0.5715 GB, free: 9.414 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.8799, allocations: 113.3 kB / 0.5716 GB, free: 9.305 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.88, allocations: 39.98 kB / 0.5717 GB, free: 9.266 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.8801, allocations: 4 kB / 0.5717 GB, free: 9.262 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004666/0.8847, allocations: 1.228 MB / 0.5729 GB, free: 8.027 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.8848, allocations: 7.938 kB / 0.5729 GB, free: 8.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003177/0.888, allocations: 449.3 kB / 0.5733 GB, free: 7.578 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.8892, allocations: 171.8 kB / 0.5735 GB, free: 7.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.8914, allocations: 1.108 MB / 0.5746 GB, free: 6.277 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.8928, allocations: 99.89 kB / 0.5747 GB, free: 6.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.8929, allocations: 39.98 kB / 0.5747 GB, free: 6.141 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 9 (pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase,sink.state.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 (69): * Single equations (assignments): 68 * 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 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.000746/0.8936, allocations: 368.8 kB / 0.5751 GB, free: 5.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002421/0.8939, allocations: 86.97 kB / 0.5751 GB, free: 5.684 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007381/0.9013, allocations: 3.329 MB / 0.5784 GB, free: 2.355 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.748e-05/0.9014, allocations: 39.94 kB / 0.5784 GB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.9014, allocations: 4 kB / 0.5784 GB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005673/0.9071, allocations: 2.774 MB / 0.5811 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009945/0.9171, allocations: 4.576 MB / 0.5856 GB, free: 10.83 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.9171, allocations: 0 / 0.5856 GB, free: 10.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/0.9185, allocations: 175.8 kB / 0.5858 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006636/0.9192, allocations: 96.7 kB / 0.5859 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.224e-05/0.9193, allocations: 23.94 kB / 0.5859 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006748/0.9199, allocations: 0.6499 MB / 0.5865 GB, free: 9.863 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.92, allocations: 2.125 kB / 0.5865 GB, free: 9.863 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006973/0.927, allocations: 2.929 MB / 0.5894 GB, free: 6.898 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.9281, allocations: 446.2 kB / 0.5898 GB, free: 6.441 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/0.9284, allocations: 16 kB / 0.5898 GB, free: 6.426 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/0.9297, allocations: 91.83 kB / 0.5899 GB, free: 6.336 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/0.9299, allocations: 68.52 kB / 0.59 GB, free: 6.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.847e-05/0.93, allocations: 23.98 kB / 0.59 GB, free: 6.246 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001763/0.9318, allocations: 0.7863 MB / 0.5908 GB, free: 5.453 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.9318, allocations: 0 / 0.5908 GB, free: 5.453 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006331/0.9381, allocations: 1.624 MB / 0.5924 GB, free: 3.828 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pipe.mediums[1].p,pipe.mediums[1].h) * Number of discrete variables: 21 ($cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02168/0.9599, allocations: 5.093 MB / 0.5973 GB, free: 14.71 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00928/0.9692, allocations: 1.851 MB / 0.5991 GB, free: 12.86 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.9693, allocations: 0 / 0.5991 GB, free: 12.86 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003599/0.9729, allocations: 0.8922 MB / 0.6 GB, free: 11.97 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007014/0.98, allocations: 475.4 kB / 0.6005 GB, free: 11.51 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/0.9978, allocations: 9.081 MB / 0.6093 GB, free: 2.25 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/0.9991, allocations: 1.345 MB / 0.6107 GB, free: 0.875 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002881/1.002, allocations: 0.9047 MB / 0.6115 GB, free: 15.97 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/1.003, allocations: 0.5657 MB / 0.6121 GB, free: 15.41 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/1.003, allocations: 0 / 0.6121 GB, free: 15.41 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5762/1.579, allocations: 70.9 MB / 0.6813 GB, free: 135.4 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003134/1.58, allocations: 266.9 kB / 0.6816 GB, free: 135 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.18/8.76, allocations: 4.062 kB / 0.6816 GB, free: 135 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve_res.mat does not exist to compare? outputFormat=mat