Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.586/2.586, allocations: 251.1 MB / 266.1 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001641/0.001641, allocations: 175 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.655/2.655, allocations: 205.4 MB / 0.5766 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 108.5 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004803, allocations: 12.62 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2238, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04387/0.2678, allocations: 34.82 MB / 0.9329 GB, free: 30.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0163/0.2841, allocations: 8.846 MB / 0.9415 GB, free: 21.67 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002288/0.2865, allocations: 43.69 kB / 0.9416 GB, free: 21.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003226/0.2898, allocations: 0.6102 MB / 0.9422 GB, free: 21.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007642/0.2975, allocations: 1.786 MB / 0.9439 GB, free: 19.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005611/0.3031, allocations: 1.276 MB / 0.9452 GB, free: 17.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004627/0.3077, allocations: 1.944 MB / 0.947 GB, free: 16.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.3094, allocations: 0.7495 MB / 0.9478 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002645/0.3121, allocations: 0.8757 MB / 0.9486 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.3135, allocations: 0.5443 MB / 0.9492 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002089/0.3137, allocations: 36 kB / 0.9492 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002578/0.3163, allocations: 0.55 MB / 0.9497 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000395/0.3168, allocations: 187.2 kB / 0.9499 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004541/0.3172, allocations: 261.1 kB / 0.9502 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002738/0.32, allocations: 1.333 MB / 0.9515 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3201, allocations: 4 kB / 0.9515 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3201, allocations: 0 / 0.9515 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.791e-05/0.3201, allocations: 0 / 0.9515 GB, free: 11.46 MB / 0.6042 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.003124/0.3232, allocations: 1.304 MB / 0.9527 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3233, allocations: 8.031 kB / 0.9528 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005056/0.3238, allocations: 130.5 kB / 0.9529 GB, free: 9.969 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/0.3262, allocations: 0.9668 MB / 0.9538 GB, free: 8.961 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.722e-05/0.3263, allocations: 58 kB / 0.9539 GB, free: 8.902 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.3265, allocations: 75.98 kB / 0.954 GB, free: 8.828 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.3285, allocations: 0.7866 MB / 0.9547 GB, free: 8.008 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.556e-05/0.3285, allocations: 0 / 0.9547 GB, free: 8.008 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.566e-05/0.3286, allocations: 28 kB / 0.9547 GB, free: 7.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/0.3287, allocations: 23.94 kB / 0.9548 GB, free: 7.957 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.3305, allocations: 0.5789 MB / 0.9553 GB, free: 7.375 MB / 0.6042 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.005658/0.3362, allocations: 3.571 MB / 0.9588 GB, free: 3.574 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008666/0.3371, allocations: 266.6 kB / 0.9591 GB, free: 3.305 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000514/0.3377, allocations: 0.6609 MB / 0.9597 GB, free: 2.496 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.3377, allocations: 38.56 kB / 0.9598 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 3.256e-06/0.3377, allocations: 0 / 0.9598 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.00192/0.3397, allocations: 0.545 MB / 0.9603 GB, free: 1.898 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.3397, allocations: 55.41 kB / 0.9603 GB, free: 1.832 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.3414, allocations: 0.9721 MB / 0.9613 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.674e-05/0.3415, allocations: 33.7 kB / 0.9613 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004294/0.342, allocations: 495.6 kB / 0.9618 GB, free: 316 kB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.3421, allocations: 114.4 kB / 0.9619 GB, free: 200 kB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.3422, allocations: 12 kB / 0.9619 GB, free: 188 kB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.3424, allocations: 322 kB / 0.9622 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006873/0.3431, allocations: 173 kB / 0.9624 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008803/0.344, allocations: 370.8 kB / 0.9627 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007724/0.3448, allocations: 223.9 kB / 0.963 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.3448, allocations: 0 / 0.963 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002221/0.347, allocations: 0.6329 MB / 0.9636 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/0.3471, allocations: 8 kB / 0.9636 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.3471, allocations: 4 kB / 0.9636 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.379e-05/0.3472, allocations: 12 kB / 0.9636 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008985/0.3481, allocations: 123.8 kB / 0.9637 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.452e-05/0.3481, allocations: 11.98 kB / 0.9637 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.3495, allocations: 123.4 kB / 0.9638 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.3497, allocations: 39.81 kB / 0.9639 GB, free: 14.08 MB / 0.6198 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.0007115/0.3504, allocations: 273.6 kB / 0.9641 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003566/0.3508, allocations: 98.78 kB / 0.9642 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/0.3526, allocations: 0.4886 MB / 0.9647 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.3526, allocations: 8 kB / 0.9647 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.3526, allocations: 3.984 kB / 0.9647 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001333/0.354, allocations: 480.5 kB / 0.9652 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003902/0.3579, allocations: 1.373 MB / 0.9665 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.358, allocations: 3.984 kB / 0.9665 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007/0.3587, allocations: 88.05 kB / 0.9666 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.3587, allocations: 4 kB / 0.9666 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.592e-05/0.3588, allocations: 15.94 kB / 0.9666 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.3588, allocations: 0 / 0.9666 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.3588, allocations: 7.938 kB / 0.9666 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002498/0.3613, allocations: 0.8439 MB / 0.9675 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007109/0.3621, allocations: 255.8 kB / 0.9677 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/0.3623, allocations: 12 kB / 0.9677 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.3634, allocations: 58.61 kB / 0.9678 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.3636, allocations: 39.84 kB / 0.9678 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/0.3636, allocations: 11.98 kB / 0.9678 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001553/0.3652, allocations: 0.6743 MB / 0.9685 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.21e-07/0.3652, allocations: 0 / 0.9685 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001678/0.3669, allocations: 343.4 kB / 0.9688 GB, free: 8.832 MB / 0.6198 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.001138/0.3681, allocations: 383.5 kB / 0.9692 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001624/0.3697, allocations: 444.1 kB / 0.9696 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.3698, allocations: 0 / 0.9696 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007087/0.3705, allocations: 192.6 kB / 0.9698 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005276/0.3758, allocations: 0.5808 MB / 0.9704 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004776/0.3806, allocations: 1.946 MB / 0.9723 GB, free: 5.266 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009183/0.3816, allocations: 1.056 MB / 0.9733 GB, free: 4.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001438/0.383, allocations: 213 kB / 0.9735 GB, free: 3.973 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003179/0.3834, allocations: 75.42 kB / 0.9736 GB, free: 3.898 MB / 0.6198 GB Notification: Performance of SimCode: time 8.81e-07/0.3834, allocations: 0 / 0.9736 GB, free: 3.898 MB / 0.6198 GB Notification: Performance of Templates: time 0.05912/0.4425, allocations: 20.1 MB / 0.9932 GB, free: 8 kB / 0.6355 GB