Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002478/0.002477, allocations: 358.5 kB / 16.58 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.414/1.414, allocations: 165.8 MB / 183.1 MB, free: 5.383 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.657/3.657, allocations: 410.8 MB / 0.6001 GB, free: 15.24 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00177/0.00177, allocations: 181.2 kB / 0.6668 GB, free: 6.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006277/0.000628, allocations: 12 kB / 0.7429 GB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4178, allocations: 67.43 MB / 0.8087 GB, free: 28.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.293/1.711, allocations: 367.6 MB / 1.168 GB, free: 158.4 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/1.711, allocations: 97.78 kB / 1.168 GB, free: 158.4 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.731/3.442, allocations: 432.5 MB / 1.59 GB, free: 0.8828 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.755e-06/3.442, allocations: 0 / 1.59 GB, free: 0.8828 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001299/3.443, allocations: 27.98 kB / 1.59 GB, free: 0.8555 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.4186/3.861, allocations: 1.448 MB / 1.592 GB, free: 101.2 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/3.861, allocations: 7.688 kB / 1.592 GB, free: 101.2 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008877/3.862, allocations: 135 kB / 1.592 GB, free: 101.1 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0391/3.901, allocations: 11.75 MB / 1.603 GB, free: 100.5 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-05/3.901, allocations: 55.69 kB / 1.603 GB, free: 100.5 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002394/3.902, allocations: 72.47 kB / 1.603 GB, free: 100.5 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/3.904, allocations: 0.7777 MB / 1.604 GB, free: 100.4 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.476e-05/3.904, allocations: 8.609 kB / 1.604 GB, free: 100.3 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/3.904, allocations: 30.56 kB / 1.604 GB, free: 100.3 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.297e-05/3.904, allocations: 24.64 kB / 1.604 GB, free: 100.3 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/3.906, allocations: 0.5615 MB / 1.605 GB, free: 100.3 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006065/3.913, allocations: 3.537 MB / 1.608 GB, free: 98.57 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000993/3.914, allocations: 365 kB / 1.609 GB, free: 98.45 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005657/3.914, allocations: 200 kB / 1.609 GB, free: 98.44 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005306/3.915, allocations: 0.6626 MB / 1.609 GB, free: 97.69 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/3.915, allocations: 41.16 kB / 1.609 GB, free: 97.65 MB / 0.573 GB Notification: Performance of pre-optimization done (n=31): time 2.605e-06/3.915, allocations: 0 / 1.609 GB, free: 97.65 MB / 0.573 GB Notification: Performance of matching and sorting (n=31): time 0.002002/3.917, allocations: 0.5613 MB / 1.61 GB, free: 97.56 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/3.917, allocations: 54.91 kB / 1.61 GB, free: 97.5 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/3.919, allocations: 0.9109 MB / 1.611 GB, free: 97.35 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001249/3.919, allocations: 35.08 kB / 1.611 GB, free: 97.32 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004345/3.919, allocations: 0.4981 MB / 1.611 GB, free: 97.16 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/3.919, allocations: 112.3 kB / 1.612 GB, free: 97.1 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/3.919, allocations: 7.562 kB / 1.612 GB, free: 97.1 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.449e-05/3.919, allocations: 331.9 kB / 1.612 GB, free: 96.79 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005692/3.92, allocations: 162.9 kB / 1.612 GB, free: 96.79 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006793/3.921, allocations: 380.8 kB / 1.612 GB, free: 96.54 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000654/3.921, allocations: 223.4 kB / 1.613 GB, free: 96.54 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/3.921, allocations: 2.406 kB / 1.613 GB, free: 96.54 MB / 0.573 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001795/3.923, allocations: 0.595 MB / 1.613 GB, free: 96.46 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/3.923, allocations: 10.8 kB / 1.613 GB, free: 96.46 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/3.923, allocations: 3.969 kB / 1.613 GB, free: 96.46 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.977e-05/3.923, allocations: 13.31 kB / 1.613 GB, free: 96.46 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007433/3.924, allocations: 117.7 kB / 1.613 GB, free: 96.46 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/3.924, allocations: 11.09 kB / 1.613 GB, free: 96.46 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/3.926, allocations: 114.7 kB / 1.613 GB, free: 96.44 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.721e-05/3.926, allocations: 29.11 kB / 1.613 GB, free: 96.44 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 57 * 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.0006688/3.926, allocations: 277.2 kB / 1.614 GB, free: 96.32 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003015/3.927, allocations: 98.5 kB / 1.614 GB, free: 96.27 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/3.928, allocations: 0.5091 MB / 1.614 GB, free: 96.22 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/3.928, allocations: 3.375 kB / 1.614 GB, free: 96.22 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/3.928, allocations: 2.062 kB / 1.614 GB, free: 96.22 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001133/3.929, allocations: 478.8 kB / 1.615 GB, free: 96.06 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00351/3.933, allocations: 1.459 MB / 1.616 GB, free: 95.63 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/3.933, allocations: 0 / 1.616 GB, free: 95.63 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006246/3.934, allocations: 82.88 kB / 1.616 GB, free: 95.63 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/3.934, allocations: 5.188 kB / 1.616 GB, free: 95.63 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/3.934, allocations: 17.09 kB / 1.616 GB, free: 95.63 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/3.934, allocations: 6.953 kB / 1.616 GB, free: 95.63 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/3.934, allocations: 0.5625 kB / 1.616 GB, free: 95.63 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/3.936, allocations: 0.8216 MB / 1.617 GB, free: 95.39 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006825/3.937, allocations: 246.1 kB / 1.617 GB, free: 95.25 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/3.937, allocations: 11.09 kB / 1.617 GB, free: 95.25 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/3.938, allocations: 54.08 kB / 1.617 GB, free: 95.25 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.127e-05/3.938, allocations: 32.88 kB / 1.617 GB, free: 95.25 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.179e-05/3.938, allocations: 19.2 kB / 1.617 GB, free: 95.25 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001236/3.939, allocations: 0.6363 MB / 1.618 GB, free: 95.14 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.4e-07/3.939, allocations: 0 / 1.618 GB, free: 95.14 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001722/3.941, allocations: 360.8 kB / 1.618 GB, free: 95.12 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001258/3.942, allocations: 0.5482 MB / 1.619 GB, free: 95.02 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001416/3.944, allocations: 425.4 kB / 1.619 GB, free: 95.01 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/3.944, allocations: 0 / 1.619 GB, free: 95.01 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006181/3.945, allocations: 206.2 kB / 1.62 GB, free: 95.01 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005604/3.95, allocations: 0.6115 MB / 1.62 GB, free: 95 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003748/3.954, allocations: 1.963 MB / 1.622 GB, free: 94.08 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005833/3.955, allocations: 1.063 MB / 1.623 GB, free: 93.37 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001391/3.956, allocations: 196.7 kB / 1.623 GB, free: 93.36 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/3.956, allocations: 83.95 kB / 1.623 GB, free: 93.35 MB / 0.573 GB Notification: Performance of SimCode: time 1.332e-06/3.956, allocations: 0 / 1.623 GB, free: 93.35 MB / 0.573 GB Notification: Performance of Templates: time 0.05452/4.011, allocations: 22.15 MB / 1.645 GB, free: 92.64 MB / 0.573 GB