Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01493/0.01493, allocations: 166.5 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.664/1.664, allocations: 170.8 MB / 186.6 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001956/0.001956, allocations: 99.45 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4488/0.4488, allocations: 38.05 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.000468, allocations: 12 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1079, allocations: 48.71 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.919/8.027, allocations: 2.497 GB / 2.899 GB, free: 38.01 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/8.027, allocations: 85.64 kB / 2.899 GB, free: 37.96 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.544/11.57, allocations: 0.5631 GB / 3.462 GB, free: 33.88 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.585e-06/11.57, allocations: 1.219 kB / 3.462 GB, free: 33.88 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001695/11.57, allocations: 40.86 kB / 3.462 GB, free: 33.88 MB / 458.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.0152/11.59, allocations: 2.622 MB / 3.465 GB, free: 32.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/11.59, allocations: 9.812 kB / 3.465 GB, free: 32.8 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007881/11.59, allocations: 173.2 kB / 3.465 GB, free: 32.76 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/11.6, allocations: 0.8164 MB / 3.466 GB, free: 32.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003777/11.6, allocations: 1.081 MB / 3.467 GB, free: 32.34 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/11.6, allocations: 99.36 kB / 3.467 GB, free: 32.34 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000414/11.6, allocations: 118.2 kB / 3.467 GB, free: 32.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009273/11.61, allocations: 2.206 MB / 3.469 GB, free: 31.97 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.252e-05/11.61, allocations: 5.172 kB / 3.469 GB, free: 31.97 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002709/11.61, allocations: 49.16 kB / 3.469 GB, free: 31.97 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/11.61, allocations: 34.61 kB / 3.469 GB, free: 31.96 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/11.62, allocations: 2.18 MB / 3.471 GB, free: 31.96 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01897/11.64, allocations: 8.881 MB / 3.48 GB, free: 26.72 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009384/11.65, allocations: 1.941 MB / 3.482 GB, free: 26.69 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1745/11.82, allocations: 49.2 MB / 3.53 GB, free: 29.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.903e-05/11.82, allocations: 54.5 kB / 3.53 GB, free: 29.81 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001464/11.83, allocations: 143 kB / 3.53 GB, free: 29.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=106): time 4.609e-06/11.83, allocations: 0 / 3.53 GB, free: 29.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=106): time 0.02484/11.85, allocations: 3.983 MB / 3.534 GB, free: 29.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/11.85, allocations: 195.5 kB / 3.534 GB, free: 29.22 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/11.85, allocations: 0.7877 MB / 3.535 GB, free: 29.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000244/11.85, allocations: 48.95 kB / 3.535 GB, free: 29.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004985/11.85, allocations: 0.6069 MB / 3.536 GB, free: 28.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003609/11.85, allocations: 359.3 kB / 3.536 GB, free: 28.51 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/11.85, allocations: 34.75 kB / 3.536 GB, free: 28.51 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001741/11.85, allocations: 358.6 kB / 3.536 GB, free: 28.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002397/11.86, allocations: 0.6229 MB / 3.537 GB, free: 28.19 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00267/11.86, allocations: 1.053 MB / 3.538 GB, free: 27.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002663/11.86, allocations: 0.7261 MB / 3.539 GB, free: 27.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.289e-05/11.86, allocations: 5.625 kB / 3.539 GB, free: 27.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006786/11.87, allocations: 1.998 MB / 3.541 GB, free: 27.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001937/11.87, allocations: 4.963 MB / 3.546 GB, free: 22.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-05/11.87, allocations: 11.44 kB / 3.546 GB, free: 22.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01202/11.88, allocations: 1.09 MB / 3.547 GB, free: 22.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003269/11.89, allocations: 444.2 kB / 3.547 GB, free: 22.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/11.89, allocations: 0.9293 MB / 3.548 GB, free: 21.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003063/11.89, allocations: 183.3 kB / 3.548 GB, free: 21.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002811/11.89, allocations: 88.97 kB / 3.548 GB, free: 21.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/11.89, allocations: 2.969 kB / 3.548 GB, free: 21.64 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006854/11.9, allocations: 1.776 MB / 3.55 GB, free: 21.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/11.9, allocations: 17.88 kB / 3.55 GB, free: 21.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005447/11.9, allocations: 90.91 kB / 3.55 GB, free: 21.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003513/11.9, allocations: 473.1 kB / 3.551 GB, free: 21.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003121/11.91, allocations: 1.783 MB / 3.552 GB, free: 20.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002648/11.91, allocations: 160.3 kB / 3.552 GB, free: 20.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002646/11.91, allocations: 94.53 kB / 3.553 GB, free: 20.16 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.001126/11.91, allocations: 397.2 kB / 3.553 GB, free: 19.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003981/11.91, allocations: 126.3 kB / 3.553 GB, free: 19.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/11.92, allocations: 6.7 MB / 3.56 GB, free: 19.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.221e-05/11.92, allocations: 88.06 kB / 3.56 GB, free: 19.22 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/11.92, allocations: 0 / 3.56 GB, free: 19.22 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.772e-05/11.92, allocations: 7.125 kB / 3.56 GB, free: 19.22 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004652/11.93, allocations: 2.888 MB / 3.563 GB, free: 18.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/11.93, allocations: 0 / 3.563 GB, free: 18.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001948/11.93, allocations: 287.6 kB / 3.563 GB, free: 18.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01027/11.94, allocations: 2.068 MB / 3.565 GB, free: 18.74 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003246/11.94, allocations: 42.17 kB / 3.565 GB, free: 18.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/11.94, allocations: 1.607 MB / 3.566 GB, free: 18.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/11.94, allocations: 3.953 kB / 3.566 GB, free: 18.17 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007731/11.95, allocations: 3.711 MB / 3.57 GB, free: 17.69 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/11.95, allocations: 0.5943 MB / 3.571 GB, free: 17.37 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003195/11.95, allocations: 29.56 kB / 3.571 GB, free: 17.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001767/11.95, allocations: 140 kB / 3.571 GB, free: 17.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/11.95, allocations: 104.8 kB / 3.571 GB, free: 17.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/11.95, allocations: 57.72 kB / 3.571 GB, free: 17.35 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001466/11.96, allocations: 0.7546 MB / 3.572 GB, free: 17.24 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.8e-07/11.96, allocations: 0 / 3.572 GB, free: 17.24 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008958/11.97, allocations: 1.793 MB / 3.573 GB, free: 17.01 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,$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.01903/11.98, allocations: 5.774 MB / 3.579 GB, free: 15.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01067/11.99, allocations: 3.285 MB / 3.582 GB, free: 15.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/11.99, allocations: 0 / 3.582 GB, free: 15.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003929/12, allocations: 1.651 MB / 3.584 GB, free: 15.45 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005766/12, allocations: 0.5904 MB / 3.584 GB, free: 15.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8327/12.84, allocations: 181.6 MB / 3.762 GB, free: 37.26 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/12.84, allocations: 1.705 MB / 3.763 GB, free: 35.88 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004274/12.84, allocations: 1.703 MB / 3.765 GB, free: 34.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001613/12.84, allocations: 0.9382 MB / 3.766 GB, free: 34.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.282e-06/12.84, allocations: 4 kB / 3.766 GB, free: 34.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5523/13.4, allocations: 80.42 MB / 3.845 GB, free: 55.53 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/13.4, allocations: 281 kB / 3.845 GB, free: 55.17 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.51/19.91, allocations: 7.094 kB / 3.845 GB, free: 55.17 MB / 490.7 MB