Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12.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.SeriesPipes12,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestPipesAndValves_SeriesPipes12",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.02036/0.02036, allocations: 108.2 kB / 15.06 MB, free: 5.949 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.001223/0.001222, allocations: 185.6 kB / 15.95 MB, free: 5.902 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.254/2.254, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.2806/0.2806, allocations: 40.04 MB / 296.5 MB, free: 6.281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.0004859, allocations: 12 kB / 361.1 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1274, allocations: 54.88 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12): time 0.4706/0.5981, allocations: 77.63 MB / 493.6 MB, free: 20.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.06118/0.6593, allocations: 32.73 MB / 0.514 GB, free: 13.69 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003845/0.6632, allocations: 95.88 kB / 0.5141 GB, free: 13.64 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005523/0.6688, allocations: 1.083 MB / 0.5152 GB, free: 13.04 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02947/0.6983, allocations: 6.253 MB / 0.5213 GB, free: 9.676 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0327/0.7311, allocations: 7.056 MB / 0.5282 GB, free: 5.406 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009729/0.7408, allocations: 3.64 MB / 0.5317 GB, free: 3.066 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003369/0.7442, allocations: 1.227 MB / 0.5329 GB, free: 2.293 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007232/0.7516, allocations: 2.07 MB / 0.535 GB, free: 1.137 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06601/0.8176, allocations: 21.06 MB / 0.5555 GB, free: 14.75 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001085/0.8188, allocations: 104 kB / 0.5556 GB, free: 14.65 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0351/0.8539, allocations: 10.04 MB / 0.5654 GB, free: 4.602 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002171/0.8562, allocations: 0.7557 MB / 0.5662 GB, free: 3.844 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001736/0.858, allocations: 0.5199 MB / 0.5667 GB, free: 3.316 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02078/0.8788, allocations: 6.518 MB / 0.573 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.8788, allocations: 0 / 0.573 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.8789, allocations: 0 / 0.573 GB, free: 12.79 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001297/0.879, allocations: 0 / 0.573 GB, free: 12.79 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.01498/0.894, allocations: 3.604 MB / 0.5766 GB, free: 9.113 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/0.8941, allocations: 12.03 kB / 0.5766 GB, free: 9.102 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001058/0.8951, allocations: 290.2 kB / 0.5769 GB, free: 8.812 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008708/0.9039, allocations: 0.84 MB / 0.5777 GB, free: 7.969 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005254/0.9092, allocations: 1.571 MB / 0.5792 GB, free: 6.344 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003408/0.9096, allocations: 175.7 kB / 0.5794 GB, free: 6.172 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007958/0.9104, allocations: 203.8 kB / 0.5796 GB, free: 5.973 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01347/0.9239, allocations: 3.495 MB / 0.583 GB, free: 2.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.232e-05/0.924, allocations: 8 kB / 0.583 GB, free: 2.312 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004412/0.9245, allocations: 87.91 kB / 0.5831 GB, free: 2.227 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004272/0.9249, allocations: 187.5 kB / 0.5833 GB, free: 2.043 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01436/0.9393, allocations: 3.285 MB / 0.5865 GB, free: 14.75 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.0332/0.9725, allocations: 14.97 MB / 0.6011 GB, free: 14.52 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009795/0.9824, allocations: 2.302 MB / 0.6033 GB, free: 12.21 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3835/1.366, allocations: 19.05 MB / 0.6219 GB, free: 138.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006815/1.373, allocations: 1.619 MB / 0.6235 GB, free: 138.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=155): time 5.6e-06/1.373, allocations: 0 / 0.6235 GB, free: 138.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=171): time 0.03437/1.407, allocations: 8.139 MB / 0.6315 GB, free: 137.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/1.407, allocations: 229.5 kB / 0.6317 GB, free: 136.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003094/1.41, allocations: 1.582 MB / 0.6332 GB, free: 136.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004626/1.411, allocations: 58.98 kB / 0.6333 GB, free: 136.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009944/1.412, allocations: 0.9987 MB / 0.6343 GB, free: 135.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009219/1.413, allocations: 0.5896 MB / 0.6348 GB, free: 135.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/1.413, allocations: 41.69 kB / 0.6349 GB, free: 135 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/1.413, allocations: 389.5 kB / 0.6352 GB, free: 134.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003671/1.417, allocations: 1.143 MB / 0.6364 GB, free: 134.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004197/1.421, allocations: 1.672 MB / 0.638 GB, free: 133.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004288/1.426, allocations: 1.379 MB / 0.6393 GB, free: 132.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-05/1.426, allocations: 3.281 kB / 0.6393 GB, free: 132.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=270) (initialization): time 0.01293/1.439, allocations: 3.949 MB / 0.6432 GB, free: 131.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001355/1.44, allocations: 5.947 MB / 0.649 GB, free: 124.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.218e-05/1.44, allocations: 14.97 kB / 0.649 GB, free: 124.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02857/1.469, allocations: 2.973 MB / 0.6519 GB, free: 124.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002511/1.471, allocations: 327.6 kB / 0.6522 GB, free: 124.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/1.482, allocations: 3.489 MB / 0.6556 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003961/1.486, allocations: 258.8 kB / 0.6559 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006383/1.487, allocations: 107.2 kB / 0.656 GB, free: 122.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/1.487, allocations: 3.188 kB / 0.656 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01392/1.501, allocations: 3.557 MB / 0.6595 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-05/1.501, allocations: 16.86 kB / 0.6595 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01315/1.514, allocations: 1.79 MB / 0.6612 GB, free: 121.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002803/1.517, allocations: 372.7 kB / 0.6616 GB, free: 121.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007929/1.525, allocations: 2.762 MB / 0.6643 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003708/1.529, allocations: 263.9 kB / 0.6645 GB, free: 119.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005607/1.529, allocations: 104.2 kB / 0.6646 GB, free: 119.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 23 (pipe3.state_a.phase,pipe1.state_a.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase,valve.state_b.phase,valve.state_a.phase,$whenCondition1,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[1].phase,pipe2.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,pipe3.statesFM[2].phase,pipe3.state_b.phase,pipe2.state_b.phase,pipe2.state_a.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 165 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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 {8 86} Notification: Performance of prepare postOptimizeDAE: time 0.002178/1.532, allocations: 0.7258 MB / 0.6653 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006386/1.532, allocations: 199.2 kB / 0.6655 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01786/1.55, allocations: 7.729 MB / 0.6731 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001393/1.55, allocations: 91.67 kB / 0.6732 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-05/1.55, allocations: 4 kB / 0.6732 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01334/1.564, allocations: 6.639 MB / 0.6797 GB, free: 110.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02347/1.587, allocations: 10.86 MB / 0.6903 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.817e-05/1.587, allocations: 3.75 kB / 0.6903 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003311/1.591, allocations: 411.3 kB / 0.6907 GB, free: 100.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002401/1.593, allocations: 382.8 kB / 0.691 GB, free: 99.86 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004426/1.594, allocations: 59.97 kB / 0.6911 GB, free: 99.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/1.595, allocations: 2.573 MB / 0.6936 GB, free: 97.12 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.595, allocations: 0 / 0.6936 GB, free: 97.12 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01535/1.611, allocations: 7.172 MB / 0.7006 GB, free: 89.83 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002115/1.613, allocations: 0.73 MB / 0.7013 GB, free: 89.07 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007236/1.614, allocations: 52.98 kB / 0.7014 GB, free: 89.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002893/1.617, allocations: 195.6 kB / 0.7015 GB, free: 88.83 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005966/1.617, allocations: 141.8 kB / 0.7017 GB, free: 88.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002359/1.617, allocations: 71.97 kB / 0.7018 GB, free: 88.62 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002461/1.62, allocations: 1.171 MB / 0.7029 GB, free: 87.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.62, allocations: 0 / 0.7029 GB, free: 87.43 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009501/1.629, allocations: 2.579 MB / 0.7054 GB, free: 85.06 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (pipe1.mediums[1].p,pipe1.mediums[1].h,valve.filter.x[1],valve.filter.x[2],pipe2.mediums[1].p,pipe2.mediums[1].h,pipe2.mediums[2].p,pipe2.mediums[2].h,pipe3.mediums[1].p,pipe3.mediums[1].h) * Number of discrete variables: 54 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse16.phase,$cse16.region,$cse18.region3boundary,$cse19.region3boundary,$cse20.phase,$cse20.region,$cse21.region3boundary,$cse22.region3boundary,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.region3boundary,$cse31.region3boundary,$cse32.phase,$cse32.region,$cse34.phase,$cse34.region,$cse35.phase,$cse35.region,$cse37.phase,$cse37.region,$whenCondition1,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[1].phase,pipe2.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled,pipe3.statesFM[2].phase) * Number of discrete states: 6 (valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,valveOpening1.b,valveOpening1.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (197): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 25 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02673/1.656, allocations: 9.73 MB / 0.7149 GB, free: 75.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01605/1.672, allocations: 5.411 MB / 0.7202 GB, free: 70.13 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/1.672, allocations: 192 / 0.7202 GB, free: 70.13 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005727/1.678, allocations: 2.434 MB / 0.7226 GB, free: 67.69 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009511/1.688, allocations: 0.863 MB / 0.7234 GB, free: 66.86 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02789/1.716, allocations: 21.25 MB / 0.7442 GB, free: 45.36 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002278/1.718, allocations: 2.309 MB / 0.7464 GB, free: 43.01 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005516/1.724, allocations: 1.756 MB / 0.7481 GB, free: 41.27 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002648/1.726, allocations: 1.296 MB / 0.7494 GB, free: 39.97 MB / 474.7 MB Notification: Performance of SimCode: time 1.563e-06/1.726, allocations: 0 / 0.7494 GB, free: 39.97 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6284/2.355, allocations: 120.6 MB / 0.8672 GB, free: 80.19 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003084/2.355, allocations: 258.5 kB / 0.8674 GB, free: 79.84 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/12.64, allocations: 4 kB / 0.8674 GB, free: 79.83 MB / 474.7 MB