Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.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.TestComponents.Valves.TestValvesCompressibleReverse,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01085/0.01085, allocations: 104.1 kB / 15.05 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.1.mo): time 0.00113/0.001129, allocations: 174.1 kB / 15.93 MB, free: 5.961 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.726/1.726, allocations: 170.9 MB / 187.5 MB, free: 1.008 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.2729/0.2729, allocations: 38.1 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006343/0.0006344, allocations: 8 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.123, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse): time 0.3929/0.516, allocations: 62.02 MB / 434.3 MB, free: 12.82 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04444/0.5605, allocations: 23.19 MB / 457.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002551/0.5631, allocations: 54.75 kB / 457.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004048/0.5672, allocations: 0.8811 MB / 458.4 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02339/0.5906, allocations: 5.042 MB / 463.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0208/0.6115, allocations: 4.661 MB / 468.1 MB, free: 11.81 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005058/0.6166, allocations: 2.035 MB / 470.2 MB, free: 11.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002047/0.6187, allocations: 0.8825 MB / 471.1 MB, free: 11.13 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003896/0.6226, allocations: 1.17 MB / 472.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03785/0.6605, allocations: 14.34 MB / 486.6 MB, free: 3.059 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005988/0.6612, allocations: 72 kB / 486.6 MB, free: 2.988 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02499/0.6862, allocations: 7.844 MB / 494.5 MB, free: 11.24 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000888/0.6872, allocations: 315.6 kB / 494.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009791/0.6882, allocations: 321 kB / 495.1 MB, free: 10.63 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01303/0.7012, allocations: 4.405 MB / 499.5 MB, free: 6.508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.7013, allocations: 0 / 499.5 MB, free: 6.508 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.7013, allocations: 0 / 499.5 MB, free: 6.508 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.079e-05/0.7014, allocations: 0 / 499.5 MB, free: 6.508 MB / 346.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.01219/0.7136, allocations: 2.597 MB / 0.4903 GB, free: 3.875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.7136, allocations: 12.03 kB / 0.4904 GB, free: 3.863 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005557/0.7142, allocations: 173.1 kB / 0.4905 GB, free: 3.684 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008599/0.7228, allocations: 0.7348 MB / 0.4912 GB, free: 2.953 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002713/0.7256, allocations: 0.943 MB / 0.4922 GB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.7258, allocations: 98.23 kB / 0.4922 GB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003854/0.7262, allocations: 115.9 kB / 0.4924 GB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009415/0.7356, allocations: 2.171 MB / 0.4945 GB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.711e-05/0.7357, allocations: 4 kB / 0.4945 GB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002601/0.736, allocations: 49.72 kB / 0.4945 GB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-05/0.7361, allocations: 35.92 kB / 0.4946 GB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/0.7464, allocations: 2.193 MB / 0.4967 GB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01901/0.7655, allocations: 8.907 MB / 0.5054 GB, free: 3.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01233/0.7779, allocations: 1.939 MB / 0.5073 GB, free: 1.828 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1893/0.9672, allocations: 49.81 MB / 0.5559 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.544e-05/0.9673, allocations: 43.56 kB / 0.556 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001026/0.9683, allocations: 126.9 kB / 0.5561 GB, free: 10.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=106): time 4.208e-06/0.9684, allocations: 0 / 0.5561 GB, free: 10.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=106): time 0.02407/0.9924, allocations: 3.819 MB / 0.5598 GB, free: 6.559 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.9926, allocations: 196.8 kB / 0.56 GB, free: 6.324 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.9944, allocations: 0.9093 MB / 0.5609 GB, free: 5.398 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003169/0.9947, allocations: 49.7 kB / 0.561 GB, free: 5.344 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006923/0.9954, allocations: 0.6033 MB / 0.5615 GB, free: 4.738 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005797/0.996, allocations: 359.7 kB / 0.5619 GB, free: 4.391 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.9962, allocations: 32 kB / 0.5619 GB, free: 4.359 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.9964, allocations: 365.9 kB / 0.5623 GB, free: 3.996 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002764/0.9991, allocations: 0.6206 MB / 0.5629 GB, free: 3.379 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003247/1.002, allocations: 1.047 MB / 0.5639 GB, free: 2.152 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003151/1.006, allocations: 0.7252 MB / 0.5646 GB, free: 1.434 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.551e-05/1.006, allocations: 4 kB / 0.5646 GB, free: 1.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.00828/1.014, allocations: 1.997 MB / 0.5666 GB, free: 15.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002441/1.016, allocations: 4.972 MB / 0.5714 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.027e-05/1.017, allocations: 12 kB / 0.5714 GB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01243/1.029, allocations: 1.108 MB / 0.5725 GB, free: 8.965 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003206/1.032, allocations: 447.4 kB / 0.5729 GB, free: 8.527 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/1.034, allocations: 0.9307 MB / 0.5738 GB, free: 7.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00266/1.037, allocations: 167.7 kB / 0.574 GB, free: 7.406 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003574/1.038, allocations: 95.94 kB / 0.5741 GB, free: 7.312 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/1.038, allocations: 4 kB / 0.5741 GB, free: 7.309 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007507/1.045, allocations: 1.761 MB / 0.5758 GB, free: 5.543 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.899e-05/1.045, allocations: 12.19 kB / 0.5758 GB, free: 5.531 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006135/1.046, allocations: 100.8 kB / 0.5759 GB, free: 5.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003454/1.049, allocations: 475.3 kB / 0.5764 GB, free: 4.965 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002936/1.052, allocations: 1.787 MB / 0.5781 GB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002393/1.055, allocations: 163.8 kB / 0.5783 GB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003595/1.055, allocations: 87.95 kB / 0.5784 GB, free: 2.805 MB / 442.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.0009931/1.056, allocations: 400.7 kB / 0.5787 GB, free: 2.402 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003729/1.056, allocations: 126.5 kB / 0.5789 GB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01498/1.071, allocations: 6.731 MB / 0.5854 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001278/1.072, allocations: 87.86 kB / 0.5855 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.072, allocations: 3.938 kB / 0.5855 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.709e-05/1.072, allocations: 7.969 kB / 0.5855 GB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005244/1.077, allocations: 2.894 MB / 0.5884 GB, free: 8.504 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-05/1.077, allocations: 0 / 0.5884 GB, free: 8.504 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002022/1.079, allocations: 283.6 kB / 0.5886 GB, free: 8.227 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01075/1.09, allocations: 2.022 MB / 0.5906 GB, free: 6.207 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002863/1.09, allocations: 39.98 kB / 0.5906 GB, free: 6.168 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002782/1.093, allocations: 1.59 MB / 0.5922 GB, free: 4.559 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/1.093, allocations: 0 / 0.5922 GB, free: 4.559 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009418/1.103, allocations: 3.735 MB / 0.5958 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/1.104, allocations: 0.5937 MB / 0.5964 GB, free: 192 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003989/1.104, allocations: 32 kB / 0.5965 GB, free: 160 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001961/1.106, allocations: 131.8 kB / 0.5966 GB, free: 28 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2755/1.382, allocations: 105.6 kB / 0.5967 GB, free: 180.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001872/1.382, allocations: 46.14 kB / 0.5967 GB, free: 180.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001708/1.384, allocations: 0.7624 MB / 0.5975 GB, free: 180.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.51e-07/1.384, allocations: 0 / 0.5975 GB, free: 180.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00707/1.391, allocations: 1.708 MB / 0.5991 GB, free: 180.4 MB / 458.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.01722/1.408, allocations: 5.285 MB / 0.6043 GB, free: 179.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01099/1.419, allocations: 3.273 MB / 0.6075 GB, free: 178.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.419, allocations: 1.25 kB / 0.6075 GB, free: 178.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006246/1.426, allocations: 1.657 MB / 0.6091 GB, free: 177.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008558/1.434, allocations: 0.5939 MB / 0.6097 GB, free: 177.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02544/1.46, allocations: 16.05 MB / 0.6254 GB, free: 164.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/1.461, allocations: 1.71 MB / 0.627 GB, free: 163.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004263/1.465, allocations: 1.704 MB / 0.6287 GB, free: 163.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001637/1.467, allocations: 0.94 MB / 0.6296 GB, free: 162.9 MB / 458.7 MB Notification: Performance of SimCode: time 8.21e-07/1.467, allocations: 2.719 kB / 0.6296 GB, free: 162.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1975/1.665, allocations: 80.5 MB / 0.7082 GB, free: 82.73 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002881/1.665, allocations: 289.4 kB / 0.7085 GB, free: 82.37 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.352/10.02, allocations: 7.938 kB / 0.7085 GB, free: 82.36 MB / 458.7 MB