Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.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.TestComponents.Valves.TestValvesCompressibleReverse,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValvesCompressibleReverse",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.01066/0.01067, allocations: 106.8 kB / 15.06 MB, free: 6.035 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.001192/0.001191, allocations: 181.3 kB / 15.95 MB, free: 5.957 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 1.965/1.965, 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.2835/0.2835, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008781/0.0008782, allocations: 8 kB / 361.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1354, allocations: 54.88 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse): time 0.4899/0.6253, allocations: 62.52 MB / 478.6 MB, free: 30.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04088/0.6662, allocations: 23.39 MB / 0.4902 GB, free: 14.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002675/0.6689, allocations: 52.41 kB / 0.4902 GB, free: 14.67 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003863/0.6728, allocations: 0.8916 MB / 0.4911 GB, free: 14.17 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02169/0.6946, allocations: 5.094 MB / 0.4961 GB, free: 11.44 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02019/0.7148, allocations: 4.731 MB / 0.5007 GB, free: 9.016 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005418/0.7203, allocations: 2.063 MB / 0.5027 GB, free: 7.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002487/0.7228, allocations: 0.8888 MB / 0.5036 GB, free: 7.605 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005349/0.7282, allocations: 1.188 MB / 0.5047 GB, free: 7.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04213/0.7704, allocations: 14.49 MB / 0.5189 GB, free: 4.258 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005052/0.7709, allocations: 72 kB / 0.519 GB, free: 4.188 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02747/0.7984, allocations: 8.008 MB / 0.5268 GB, free: 12.28 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009917/0.7995, allocations: 310.8 kB / 0.5271 GB, free: 11.97 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.8007, allocations: 328.9 kB / 0.5274 GB, free: 11.64 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01655/0.8172, allocations: 4.475 MB / 0.5318 GB, free: 7.164 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.8173, allocations: 0 / 0.5318 GB, free: 7.164 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.8173, allocations: 0 / 0.5318 GB, free: 7.164 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.747e-05/0.8174, allocations: 0 / 0.5318 GB, free: 7.164 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.01715/0.8346, allocations: 2.661 MB / 0.5344 GB, free: 4.449 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.8347, allocations: 8.031 kB / 0.5344 GB, free: 4.441 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006923/0.8354, allocations: 177.7 kB / 0.5345 GB, free: 4.258 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01332/0.8487, allocations: 0.7824 MB / 0.5353 GB, free: 3.473 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003588/0.8524, allocations: 0.9469 MB / 0.5362 GB, free: 2.484 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002244/0.8526, allocations: 98.23 kB / 0.5363 GB, free: 2.387 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004641/0.8531, allocations: 120 kB / 0.5364 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0127/0.8658, allocations: 2.166 MB / 0.5385 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.321e-05/0.866, allocations: 7.938 kB / 0.5386 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000301/0.8663, allocations: 48 kB / 0.5386 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.723e-05/0.8663, allocations: 35.19 kB / 0.5386 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01055/0.8769, allocations: 2.185 MB / 0.5408 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01944/0.8964, allocations: 8.915 MB / 0.5495 GB, free: 4.164 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009937/0.9064, allocations: 1.951 MB / 0.5514 GB, free: 2.207 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2484/1.155, allocations: 49.81 MB / 0.6 GB, free: 10.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.821e-05/1.155, allocations: 55.55 kB / 0.6001 GB, free: 10.84 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001082/1.156, allocations: 118.9 kB / 0.6002 GB, free: 10.72 MB / 474.7 MB Notification: Performance of pre-optimization done (n=106): time 5.08e-06/1.156, allocations: 4 kB / 0.6002 GB, free: 10.72 MB / 474.7 MB Notification: Performance of matching and sorting (n=106): time 0.02427/1.18, allocations: 3.823 MB / 0.6039 GB, free: 6.871 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/1.181, allocations: 196.9 kB / 0.6041 GB, free: 6.637 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/1.182, allocations: 0.9053 MB / 0.605 GB, free: 5.715 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002712/1.183, allocations: 53.7 kB / 0.6051 GB, free: 5.656 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006656/1.183, allocations: 0.6045 MB / 0.6056 GB, free: 5.043 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004991/1.184, allocations: 374.7 kB / 0.606 GB, free: 4.672 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/1.184, allocations: 28 kB / 0.606 GB, free: 4.645 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000195/1.184, allocations: 357.9 kB / 0.6064 GB, free: 4.289 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002723/1.187, allocations: 0.6168 MB / 0.607 GB, free: 3.672 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003115/1.19, allocations: 1.055 MB / 0.608 GB, free: 2.426 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003009/1.193, allocations: 0.7207 MB / 0.6087 GB, free: 1.703 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/1.193, allocations: 4 kB / 0.6087 GB, free: 1.699 MB / 474.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.00772/1.201, allocations: 1.992 MB / 0.6107 GB, free: 15.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002132/1.203, allocations: 4.967 MB / 0.6155 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.001e-05/1.203, allocations: 12 kB / 0.6155 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01226/1.215, allocations: 1.114 MB / 0.6166 GB, free: 9.211 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003252/1.219, allocations: 431.4 kB / 0.617 GB, free: 8.789 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/1.221, allocations: 0.9424 MB / 0.6179 GB, free: 7.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/1.223, allocations: 167.8 kB / 0.6181 GB, free: 7.656 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004587/1.224, allocations: 87.95 kB / 0.6182 GB, free: 7.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/1.224, allocations: 0.7812 kB / 0.6182 GB, free: 7.57 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007758/1.232, allocations: 1.778 MB / 0.6199 GB, free: 5.789 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.692e-05/1.232, allocations: 16 kB / 0.6199 GB, free: 5.773 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006204/1.233, allocations: 97.61 kB / 0.62 GB, free: 5.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004394/1.237, allocations: 471.4 kB / 0.6205 GB, free: 5.219 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005358/1.242, allocations: 1.774 MB / 0.6222 GB, free: 3.305 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004013/1.246, allocations: 167.8 kB / 0.6224 GB, free: 3.141 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005819/1.247, allocations: 95.84 kB / 0.6225 GB, free: 3.047 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 15 (SourceP1.medium.phase,SourceP2.medium.phase,SinkP1.medium.phase,SinkP2.medium.phase,SinkP3.medium.phase,V5.state_b.phase,V5.state_a.phase,V4.state_b.phase,V4.state_a.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 162 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.001529/1.249, allocations: 392.6 kB / 0.6228 GB, free: 2.652 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000403/1.249, allocations: 126.4 kB / 0.623 GB, free: 2.527 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3344/1.583, allocations: 6.726 MB / 0.6295 GB, free: 160.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001163/1.584, allocations: 85.25 kB / 0.6296 GB, free: 160.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/1.584, allocations: 0 / 0.6296 GB, free: 160.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-05/1.584, allocations: 6.609 kB / 0.6296 GB, free: 160.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005002/1.589, allocations: 2.892 MB / 0.6324 GB, free: 160.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.969e-05/1.589, allocations: 3.562 kB / 0.6324 GB, free: 160.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001989/1.591, allocations: 280.9 kB / 0.6327 GB, free: 160.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01012/1.601, allocations: 2.019 MB / 0.6347 GB, free: 160.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002986/1.601, allocations: 41.72 kB / 0.6347 GB, free: 160.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002411/1.604, allocations: 1.598 MB / 0.6363 GB, free: 159.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/1.604, allocations: 0 / 0.6363 GB, free: 159.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008405/1.612, allocations: 3.743 MB / 0.6399 GB, free: 157.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/1.613, allocations: 0.594 MB / 0.6405 GB, free: 157.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003966/1.614, allocations: 26.22 kB / 0.6405 GB, free: 157.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001899/1.616, allocations: 134.4 kB / 0.6407 GB, free: 157.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003568/1.616, allocations: 110.5 kB / 0.6408 GB, free: 157.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/1.616, allocations: 46.62 kB / 0.6408 GB, free: 157.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001461/1.618, allocations: 0.7617 MB / 0.6416 GB, free: 156.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.618, allocations: 0 / 0.6416 GB, free: 156.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007186/1.625, allocations: 1.719 MB / 0.6432 GB, free: 156.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 51 ($cse6.phase,$cse6.region,$cse10.phase,$cse10.region,$cse14.phase,$cse14.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse28.phase,$cse28.region,$cse34.phase,$cse34.region,$cse35.phase,$cse35.region,$cse40.phase,$cse40.region,$cse45.phase,$cse45.region,$cse46.phase,$cse46.region,$cse47.phase,$cse47.region,$cse48.phase,$cse48.region,$cse50.phase,$cse50.region,$cse51.phase,$cse51.region,$cse53.phase,$cse53.region,$cse54.phase,$cse54.region,$cse56.phase,$cse56.region,$cse57.phase,$cse57.region,$cse59.phase,$cse59.region,$cse60.phase,$cse60.region,$cse62.phase,$cse62.region,$cse63.phase,$cse63.region,SourceP1.medium.phase,SourceP2.medium.phase,SinkP1.medium.phase,SinkP2.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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 34} Notification: Performance of Backend phase and start with SimCode phase: time 0.01666/1.642, allocations: 5.286 MB / 0.6484 GB, free: 154.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01119/1.653, allocations: 3.272 MB / 0.6516 GB, free: 153.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/1.653, allocations: 0 / 0.6516 GB, free: 153.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004246/1.657, allocations: 1.656 MB / 0.6532 GB, free: 152.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006298/1.664, allocations: 0.5925 MB / 0.6538 GB, free: 152.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0244/1.688, allocations: 16.05 MB / 0.6695 GB, free: 140 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001835/1.69, allocations: 1.705 MB / 0.6711 GB, free: 139.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005153/1.695, allocations: 1.717 MB / 0.6728 GB, free: 139.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00187/1.697, allocations: 0.9443 MB / 0.6737 GB, free: 138.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.583e-06/1.697, allocations: 0 / 0.6737 GB, free: 138.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1869/1.884, allocations: 80.77 MB / 0.7526 GB, free: 68.23 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002961/1.885, allocations: 285.4 kB / 0.7529 GB, free: 67.87 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.594/10.48, allocations: 4 kB / 0.7529 GB, free: 67.87 MB / 490.7 MB