Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.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.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",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.00999/0.00999, allocations: 165.6 kB / 15.11 MB, free: 5.934 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.686/1.686, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.002086/0.002085, allocations: 111 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.4339/0.4339, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004755/0.0004754, allocations: 20 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1025, allocations: 48.7 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.05/11.15, allocations: 3.653 GB / 4.055 GB, free: 22 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/11.15, allocations: 87.33 kB / 4.055 GB, free: 21.96 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.6/13.75, allocations: 471 MB / 4.515 GB, free: 51.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.454e-06/13.75, allocations: 3.875 kB / 4.515 GB, free: 51.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.549e-05/13.75, allocations: 27.75 kB / 4.515 GB, free: 51.24 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.009043/13.76, allocations: 2.049 MB / 4.517 GB, free: 50.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/13.76, allocations: 7.594 kB / 4.517 GB, free: 50.07 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005771/13.76, allocations: 132.6 kB / 4.517 GB, free: 50.03 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006506/13.76, allocations: 126 kB / 4.517 GB, free: 49.97 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002561/13.77, allocations: 0.7792 MB / 4.518 GB, free: 49.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.377e-05/13.77, allocations: 54.91 kB / 4.518 GB, free: 49.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002357/13.77, allocations: 73.62 kB / 4.518 GB, free: 49.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003494/13.77, allocations: 1.242 MB / 4.519 GB, free: 49.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.698e-05/13.77, allocations: 0 / 4.519 GB, free: 49.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000197/13.77, allocations: 32.94 kB / 4.519 GB, free: 49.55 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001471/13.77, allocations: 72.52 kB / 4.52 GB, free: 49.55 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003916/13.78, allocations: 1.384 MB / 4.521 GB, free: 49.32 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/13.79, allocations: 4.455 MB / 4.525 GB, free: 46.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00204/13.79, allocations: 0.6297 MB / 4.526 GB, free: 46.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009006/13.79, allocations: 0.7922 MB / 4.527 GB, free: 45.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/13.79, allocations: 39 kB / 4.527 GB, free: 45.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=54): time 3.296e-06/13.79, allocations: 0 / 4.527 GB, free: 45.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=54): time 0.003031/13.79, allocations: 0.9238 MB / 4.528 GB, free: 44.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/13.79, allocations: 115 kB / 4.528 GB, free: 44.81 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/13.8, allocations: 0.6502 MB / 4.528 GB, free: 44.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001287/13.8, allocations: 39.61 kB / 4.528 GB, free: 44.39 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003446/13.8, allocations: 479.1 kB / 4.529 GB, free: 43.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/13.8, allocations: 194.4 kB / 4.529 GB, free: 43.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/13.8, allocations: 16 kB / 4.529 GB, free: 43.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/13.8, allocations: 393.1 kB / 4.529 GB, free: 43.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/13.8, allocations: 337.8 kB / 4.53 GB, free: 43.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/13.8, allocations: 0.5893 MB / 4.53 GB, free: 42.35 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/13.8, allocations: 436.5 kB / 4.531 GB, free: 41.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/13.8, allocations: 4 kB / 4.531 GB, free: 41.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003175/13.8, allocations: 1.08 MB / 4.532 GB, free: 40.85 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006915/13.8, allocations: 2.872 MB / 4.535 GB, free: 37.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/13.8, allocations: 8 kB / 4.535 GB, free: 37.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.32e-05/13.8, allocations: 13.03 kB / 4.535 GB, free: 37.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/13.81, allocations: 239.6 kB / 4.535 GB, free: 37.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-05/13.81, allocations: 15.94 kB / 4.535 GB, free: 37.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/13.81, allocations: 126.9 kB / 4.535 GB, free: 37.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/13.81, allocations: 63.97 kB / 4.535 GB, free: 37.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/13.81, allocations: 11.94 kB / 4.535 GB, free: 37.31 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002747/13.81, allocations: 0.9449 MB / 4.536 GB, free: 36.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/13.81, allocations: 8 kB / 4.536 GB, free: 36.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/13.81, allocations: 19.94 kB / 4.536 GB, free: 36.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/13.81, allocations: 223.7 kB / 4.536 GB, free: 36.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.198e-05/13.81, allocations: 19.89 kB / 4.536 GB, free: 36.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/13.81, allocations: 103.2 kB / 4.536 GB, free: 36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/13.81, allocations: 67.97 kB / 4.536 GB, free: 35.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 110 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007637/13.81, allocations: 370.5 kB / 4.537 GB, free: 35.56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/13.82, allocations: 82.97 kB / 4.537 GB, free: 35.48 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003463/13.82, allocations: 1.062 MB / 4.538 GB, free: 34.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/13.82, allocations: 8 kB / 4.538 GB, free: 34.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/13.82, allocations: 3.953 kB / 4.538 GB, free: 34.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/13.82, allocations: 7.984 kB / 4.538 GB, free: 34.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003955/13.82, allocations: 1.701 MB / 4.54 GB, free: 32.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/13.82, allocations: 4 kB / 4.54 GB, free: 32.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009839/13.82, allocations: 131.8 kB / 4.54 GB, free: 32.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/13.82, allocations: 4 kB / 4.54 GB, free: 32.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.824e-05/13.82, allocations: 27.98 kB / 4.54 GB, free: 32.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.907e-06/13.82, allocations: 4.25 kB / 4.54 GB, free: 32.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/13.82, allocations: 8 kB / 4.54 GB, free: 32.44 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/13.83, allocations: 0.9604 MB / 4.541 GB, free: 31.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003662/13.83, allocations: 179.9 kB / 4.541 GB, free: 31.19 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/13.83, allocations: 12 kB / 4.541 GB, free: 31.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009303/13.83, allocations: 43.91 kB / 4.541 GB, free: 31.13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/13.83, allocations: 64.38 kB / 4.541 GB, free: 31.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/13.83, allocations: 39.98 kB / 4.541 GB, free: 31.03 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009545/13.83, allocations: 0.5029 MB / 4.541 GB, free: 30.54 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.81e-07/13.83, allocations: 3.938 kB / 4.541 GB, free: 30.53 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005405/13.83, allocations: 1.33 MB / 4.543 GB, free: 29.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009133/13.84, allocations: 3.919 MB / 4.547 GB, free: 25.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003946/13.85, allocations: 1.303 MB / 4.548 GB, free: 24.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/13.85, allocations: 0 / 4.548 GB, free: 24.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009592/13.85, allocations: 359.7 kB / 4.548 GB, free: 23.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/13.85, allocations: 350.5 kB / 4.549 GB, free: 23.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008716/13.86, allocations: 7.976 MB / 4.556 GB, free: 15.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006457/13.86, allocations: 1.07 MB / 4.557 GB, free: 14.19 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003476/13.86, allocations: 0.5192 MB / 4.558 GB, free: 13.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/13.87, allocations: 359.3 kB / 4.558 GB, free: 13.35 MB / 442.7 MB Notification: Performance of SimCode: time 2.695e-06/13.87, allocations: 3.938 kB / 4.558 GB, free: 13.34 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4593/14.32, allocations: 49.62 MB / 4.607 GB, free: 58.98 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003241/14.33, allocations: 234.2 kB / 4.607 GB, free: 58.73 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.982/19.31, allocations: 0 / 4.607 GB, free: 58.73 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat does not exist to compare? outputFormat=mat