Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009988/0.009988, allocations: 175.9 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.945/1.945, allocations: 194.5 MB / 210.3 MB, free: 7.805 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002016/0.002015, allocations: 112.7 kB / 255.6 MB, free: 10.43 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2509/0.2509, allocations: 40 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005236/0.0005237, allocations: 14.19 kB / 406.3 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.109, allocations: 54.86 MB / 461.1 MB, free: 3.246 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.793/7.903, allocations: 2.608 GB / 3.058 GB, free: 56.35 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/7.903, allocations: 86.2 kB / 3.058 GB, free: 56.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.208/11.11, allocations: 0.5753 GB / 3.633 GB, free: 41.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.457e-06/11.11, allocations: 0 / 3.633 GB, free: 41.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002185/11.11, allocations: 38.5 kB / 3.633 GB, free: 41.91 MB / 0.4948 GB 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.02106/11.13, allocations: 2.71 MB / 3.636 GB, free: 40.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.819e-05/11.13, allocations: 10.41 kB / 3.636 GB, free: 40.5 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001041/11.13, allocations: 169.2 kB / 3.636 GB, free: 40.38 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0162/11.15, allocations: 0.869 MB / 3.637 GB, free: 40.18 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004707/11.15, allocations: 1.077 MB / 3.638 GB, free: 39.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/11.16, allocations: 99.14 kB / 3.638 GB, free: 39.31 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005343/11.16, allocations: 119.3 kB / 3.638 GB, free: 39.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01275/11.17, allocations: 2.199 MB / 3.641 GB, free: 37.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-05/11.17, allocations: 3.938 kB / 3.641 GB, free: 37.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003865/11.17, allocations: 59.36 kB / 3.641 GB, free: 37.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.362e-05/11.17, allocations: 27.22 kB / 3.641 GB, free: 37.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01451/11.18, allocations: 2.178 MB / 3.643 GB, free: 36.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02451/11.21, allocations: 8.888 MB / 3.651 GB, free: 28.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01381/11.22, allocations: 1.935 MB / 3.653 GB, free: 26.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6347/11.86, allocations: 49.22 MB / 3.701 GB, free: 60.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.191e-05/11.86, allocations: 47.28 kB / 3.701 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00168/11.86, allocations: 143.8 kB / 3.702 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=106): time 7.313e-06/11.86, allocations: 3.094 kB / 3.702 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=106): time 0.02739/11.89, allocations: 3.974 MB / 3.705 GB, free: 60 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.985e-05/11.89, allocations: 195.6 kB / 3.706 GB, free: 59.78 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/11.89, allocations: 0.7924 MB / 3.706 GB, free: 59.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003848/11.89, allocations: 45.92 kB / 3.706 GB, free: 59.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005657/11.89, allocations: 0.6086 MB / 3.707 GB, free: 59.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005201/11.89, allocations: 365.9 kB / 3.707 GB, free: 59.22 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/11.89, allocations: 28.94 kB / 3.707 GB, free: 59.22 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001343/11.89, allocations: 367.3 kB / 3.708 GB, free: 58.92 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002843/11.89, allocations: 0.6124 MB / 3.708 GB, free: 58.92 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003469/11.9, allocations: 1.06 MB / 3.709 GB, free: 58.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003404/11.9, allocations: 0.7218 MB / 3.71 GB, free: 58.41 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.26e-05/11.9, allocations: 3.781 kB / 3.71 GB, free: 58.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.007824/11.91, allocations: 2.003 MB / 3.712 GB, free: 58.28 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001169/11.91, allocations: 4.97 MB / 3.717 GB, free: 53.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.886e-05/11.91, allocations: 13.31 kB / 3.717 GB, free: 53.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01197/11.92, allocations: 1.092 MB / 3.718 GB, free: 53.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003205/11.92, allocations: 442.7 kB / 3.718 GB, free: 53.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/11.93, allocations: 0.9321 MB / 3.719 GB, free: 52.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002941/11.93, allocations: 173.2 kB / 3.72 GB, free: 52.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002857/11.93, allocations: 85.41 kB / 3.72 GB, free: 52.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/11.93, allocations: 3.781 kB / 3.72 GB, free: 52.57 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006934/11.94, allocations: 1.78 MB / 3.721 GB, free: 52.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/11.94, allocations: 13.59 kB / 3.721 GB, free: 52.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005495/11.94, allocations: 96.36 kB / 3.721 GB, free: 52.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003452/11.94, allocations: 476.7 kB / 3.722 GB, free: 52.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002953/11.94, allocations: 1.764 MB / 3.724 GB, free: 51.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002777/11.95, allocations: 180.2 kB / 3.724 GB, free: 51.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003117/11.95, allocations: 85.59 kB / 3.724 GB, free: 51.14 MB / 0.5105 GB 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.001038/11.95, allocations: 385.1 kB / 3.724 GB, free: 50.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000406/11.95, allocations: 132.5 kB / 3.724 GB, free: 50.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/11.96, allocations: 6.707 MB / 3.731 GB, free: 50.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-05/11.96, allocations: 83.14 kB / 3.731 GB, free: 50.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/11.96, allocations: 4.422 kB / 3.731 GB, free: 50.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.454e-05/11.96, allocations: 14.59 kB / 3.731 GB, free: 50.37 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005038/11.97, allocations: 2.884 MB / 3.734 GB, free: 50.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-05/11.97, allocations: 0 / 3.734 GB, free: 50.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001925/11.97, allocations: 284.7 kB / 3.734 GB, free: 50.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01036/11.98, allocations: 2.068 MB / 3.736 GB, free: 49.97 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003365/11.98, allocations: 39.19 kB / 3.736 GB, free: 49.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002349/11.98, allocations: 1.601 MB / 3.738 GB, free: 49.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/11.98, allocations: 6.062 kB / 3.738 GB, free: 49.41 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008128/11.99, allocations: 3.715 MB / 3.741 GB, free: 48.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/11.99, allocations: 0.5965 MB / 3.742 GB, free: 48.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005418/11.99, allocations: 25.62 kB / 3.742 GB, free: 48.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002186/11.99, allocations: 146.3 kB / 3.742 GB, free: 48.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003285/11.99, allocations: 110.9 kB / 3.742 GB, free: 48.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/11.99, allocations: 53.58 kB / 3.742 GB, free: 48.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001522/12, allocations: 0.7587 MB / 3.743 GB, free: 48.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.11e-07/12, allocations: 0 / 3.743 GB, free: 48.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009286/12.01, allocations: 1.794 MB / 3.745 GB, free: 48.39 MB / 0.5105 GB 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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse43.phase,$cse43.region,$cse44.phase,$cse44.region,$cse46.phase,$cse46.region,$cse47.phase,$cse47.region,$cse52.phase,$cse52.region,$cse54.phase,$cse54.region,$cse55.phase,$cse55.region,$cse60.phase,$cse60.region,$cse61.phase,$cse61.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.01944/12.02, allocations: 5.779 MB / 3.75 GB, free: 47.32 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01065/12.04, allocations: 3.279 MB / 3.754 GB, free: 47.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/12.04, allocations: 1.406 kB / 3.754 GB, free: 47.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004015/12.04, allocations: 1.659 MB / 3.755 GB, free: 47.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005666/12.05, allocations: 0.586 MB / 3.756 GB, free: 47.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8939/12.94, allocations: 184.2 MB / 3.936 GB, free: 51.75 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/12.94, allocations: 1.705 MB / 3.937 GB, free: 51.01 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004621/12.95, allocations: 1.711 MB / 3.939 GB, free: 50.99 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001961/12.95, allocations: 0.9374 MB / 3.94 GB, free: 50.98 MB / 0.5105 GB Notification: Performance of SimCode: time 1.352e-06/12.95, allocations: 0 / 3.94 GB, free: 50.98 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.182/13.13, allocations: 80.58 MB / 4.019 GB, free: 34.17 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003047/13.13, allocations: 278.6 kB / 4.019 GB, free: 33.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.696/19.83, allocations: 4 kB / 4.019 GB, free: 33.8 MB / 0.5105 GB