Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.699/2.699, allocations: 287.9 MB / 302.9 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001427/0.001427, allocations: 185.1 kB / 371.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.4 MB / 0.6301 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 95.47 kB / 0.7434 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.0004701, allocations: 16.02 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1568, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0393/0.1962, allocations: 34.81 MB / 1.013 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01678/0.213, allocations: 8.856 MB / 1.021 GB, free: 424 kB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001836/0.2149, allocations: 43.69 kB / 1.021 GB, free: 380 kB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002575/0.2175, allocations: 0.6179 MB / 1.022 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007862/0.2254, allocations: 1.786 MB / 1.024 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00867/0.2341, allocations: 1.353 MB / 1.025 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.005873/0.24, allocations: 1.958 MB / 1.027 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001666/0.2417, allocations: 0.7498 MB / 1.028 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002446/0.2442, allocations: 0.8797 MB / 1.029 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.2454, allocations: 0.5443 MB / 1.029 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.2456, allocations: 36 kB / 1.029 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002307/0.2479, allocations: 0.5499 MB / 1.03 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003631/0.2483, allocations: 191.2 kB / 1.03 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0005079/0.2489, allocations: 261.1 kB / 1.03 GB, free: 7.453 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002627/0.2515, allocations: 1.36 MB / 1.031 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.991e-06/0.2516, allocations: 0 / 1.031 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.147e-06/0.2516, allocations: 0 / 1.031 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.009e-05/0.2516, allocations: 0 / 1.031 GB, free: 6.09 MB / 0.6511 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.002994/0.2546, allocations: 1.304 MB / 1.033 GB, free: 4.73 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.2547, allocations: 12.03 kB / 1.033 GB, free: 4.719 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005499/0.2552, allocations: 134.5 kB / 1.033 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002367/0.2576, allocations: 0.9669 MB / 1.034 GB, free: 3.578 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.41e-05/0.2578, allocations: 58 kB / 1.034 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.2579, allocations: 72 kB / 1.034 GB, free: 3.449 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/0.26, allocations: 0.7905 MB / 1.035 GB, free: 2.625 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/0.26, allocations: 0 / 1.035 GB, free: 2.625 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.456e-05/0.2602, allocations: 28 kB / 1.035 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-05/0.2602, allocations: 23.94 kB / 1.035 GB, free: 2.574 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.2619, allocations: 0.5829 MB / 1.035 GB, free: 1.992 MB / 0.6511 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.006194/0.2681, allocations: 3.586 MB / 1.039 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007866/0.2689, allocations: 262.6 kB / 1.039 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006877/0.2696, allocations: 0.6609 MB / 1.04 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.2696, allocations: 39.09 kB / 1.04 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 3.673e-06/0.2697, allocations: 0 / 1.04 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.001723/0.2714, allocations: 0.547 MB / 1.04 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.2715, allocations: 55.41 kB / 1.04 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.2733, allocations: 0.9644 MB / 1.041 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.194e-05/0.2734, allocations: 29.7 kB / 1.041 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005539/0.2739, allocations: 499.6 kB / 1.042 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.2741, allocations: 118.4 kB / 1.042 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.2741, allocations: 12 kB / 1.042 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.2743, allocations: 322 kB / 1.042 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005328/0.2749, allocations: 177 kB / 1.042 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007133/0.2756, allocations: 362.8 kB / 1.043 GB, free: 9.871 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006123/0.2762, allocations: 227.8 kB / 1.043 GB, free: 9.648 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.693e-06/0.2763, allocations: 4 kB / 1.043 GB, free: 9.645 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001709/0.278, allocations: 0.6289 MB / 1.044 GB, free: 9.008 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.278, allocations: 9.25 kB / 1.044 GB, free: 9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.2781, allocations: 4 kB / 1.044 GB, free: 8.996 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.2781, allocations: 8 kB / 1.044 GB, free: 8.988 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006089/0.2787, allocations: 136.2 kB / 1.044 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/0.2787, allocations: 8 kB / 1.044 GB, free: 8.848 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.2798, allocations: 127 kB / 1.044 GB, free: 8.723 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.723e-05/0.2799, allocations: 27.95 kB / 1.044 GB, free: 8.695 MB / 0.6667 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 (65): * Single equations (assignments): 65 * 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.0005751/0.2805, allocations: 274.7 kB / 1.044 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/0.2807, allocations: 98.78 kB / 1.044 GB, free: 8.32 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.2821, allocations: 0.4995 MB / 1.045 GB, free: 7.812 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.2821, allocations: 4 kB / 1.045 GB, free: 7.809 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.2822, allocations: 3.984 kB / 1.045 GB, free: 7.805 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001058/0.2832, allocations: 472.8 kB / 1.045 GB, free: 7.312 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003203/0.2865, allocations: 1.393 MB / 1.047 GB, free: 5.848 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.876e-06/0.2865, allocations: 8.031 kB / 1.047 GB, free: 5.84 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004763/0.287, allocations: 79.89 kB / 1.047 GB, free: 5.762 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.545e-05/0.287, allocations: 4 kB / 1.047 GB, free: 5.758 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.382e-05/0.2871, allocations: 23.94 kB / 1.047 GB, free: 5.734 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.732e-06/0.2871, allocations: 3.984 kB / 1.047 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.2871, allocations: 7.938 kB / 1.047 GB, free: 5.723 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.2891, allocations: 0.8475 MB / 1.048 GB, free: 4.82 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005858/0.2897, allocations: 259.7 kB / 1.048 GB, free: 4.547 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.2899, allocations: 4 kB / 1.048 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007862/0.2907, allocations: 56 kB / 1.048 GB, free: 4.488 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.2908, allocations: 35.86 kB / 1.048 GB, free: 4.453 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.538e-05/0.2909, allocations: 19.98 kB / 1.048 GB, free: 4.434 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001308/0.2922, allocations: 0.6704 MB / 1.049 GB, free: 3.754 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.39e-07/0.2922, allocations: 0 / 1.049 GB, free: 3.754 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00139/0.2936, allocations: 347.4 kB / 1.049 GB, free: 3.414 MB / 0.6667 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.0009052/0.2946, allocations: 381.3 kB / 1.049 GB, free: 3.043 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001308/0.2959, allocations: 440.1 kB / 1.05 GB, free: 2.613 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.634e-06/0.2959, allocations: 0 / 1.05 GB, free: 2.613 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005545/0.2965, allocations: 197.1 kB / 1.05 GB, free: 2.422 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00345/0.3, allocations: 0.5939 MB / 1.05 GB, free: 1.836 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/0.3038, allocations: 1.947 MB / 1.052 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009031/0.3047, allocations: 1.052 MB / 1.053 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001184/0.3059, allocations: 199.8 kB / 1.054 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/0.3062, allocations: 83.42 kB / 1.054 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of SimCode: time 2.142e-06/0.3062, allocations: 0 / 1.054 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of Templates: time 0.5453/0.8515, allocations: 20.2 MB / 1.073 GB, free: 82.96 MB / 0.6823 GB