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 4.603/4.603, allocations: 0.5623 GB / 0.5769 GB, free: 66.92 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002556/0.002555, allocations: 359.6 kB / 0.644 GB, free: 21.58 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.962/3.962, allocations: 410.8 MB / 1.112 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001769/0.001769, allocations: 180.6 kB / 1.225 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004928/0.000493, allocations: 17.48 kB / 1.348 GB, free: 320.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1546, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03595/0.1905, allocations: 38.3 MB / 1.498 GB, free: 182.4 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01333/0.2039, allocations: 9.496 MB / 1.507 GB, free: 172.9 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/0.2057, allocations: 47.69 kB / 1.507 GB, free: 172.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.2075, allocations: 0.5613 MB / 1.508 GB, free: 172.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.005797/0.2134, allocations: 1.88 MB / 1.51 GB, free: 170.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00455/0.2179, allocations: 1.359 MB / 1.511 GB, free: 169.1 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.004255/0.2222, allocations: 3.842 MB / 1.515 GB, free: 165.3 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.2234, allocations: 0.7418 MB / 1.516 GB, free: 164.5 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00164/0.225, allocations: 0.9565 MB / 1.517 GB, free: 163.6 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009937/0.226, allocations: 0.8088 MB / 1.517 GB, free: 162.8 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.2262, allocations: 36 kB / 1.517 GB, free: 162.7 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.2278, allocations: 494.5 kB / 1.518 GB, free: 162.2 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.228, allocations: 199.1 kB / 1.518 GB, free: 162 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002959/0.2283, allocations: 257.1 kB / 1.518 GB, free: 161.8 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.2299, allocations: 1.375 MB / 1.52 GB, free: 160.4 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.916e-06/0.2299, allocations: 0 / 1.52 GB, free: 160.4 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.88e-06/0.2299, allocations: 3.938 kB / 1.52 GB, free: 160.4 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.23, allocations: 0 / 1.52 GB, free: 160.4 MB / 0.8073 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.002066/0.232, allocations: 1.308 MB / 1.521 GB, free: 159 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2321, allocations: 12.75 kB / 1.521 GB, free: 159 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003895/0.2325, allocations: 130.5 kB / 1.521 GB, free: 158.9 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/0.2343, allocations: 1.022 MB / 1.522 GB, free: 157.8 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.188e-05/0.2344, allocations: 65.92 kB / 1.522 GB, free: 157.8 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.2345, allocations: 68 kB / 1.522 GB, free: 157.7 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.236, allocations: 0.8022 MB / 1.523 GB, free: 156.9 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/0.2361, allocations: 3.906 kB / 1.523 GB, free: 156.9 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.083e-05/0.2362, allocations: 28 kB / 1.523 GB, free: 156.8 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/0.2362, allocations: 23.98 kB / 1.523 GB, free: 156.8 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.2376, allocations: 0.5867 MB / 1.524 GB, free: 156.2 MB / 0.8073 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.004139/0.2417, allocations: 3.54 MB / 1.527 GB, free: 152.5 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006511/0.2424, allocations: 274.6 kB / 1.527 GB, free: 152.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004143/0.2429, allocations: 193.2 kB / 1.527 GB, free: 152 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004019/0.2433, allocations: 0.6609 MB / 1.528 GB, free: 151.2 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.2433, allocations: 38.55 kB / 1.528 GB, free: 151.1 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=31): time 3.212e-06/0.2433, allocations: 4 kB / 1.528 GB, free: 151.1 MB / 0.8073 GB Notification: Performance of matching and sorting (n=31): time 0.001333/0.2447, allocations: 0.539 MB / 1.529 GB, free: 150.6 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.2447, allocations: 59.34 kB / 1.529 GB, free: 150.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.246, allocations: 0.9214 MB / 1.53 GB, free: 149.6 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.344e-05/0.246, allocations: 33.7 kB / 1.53 GB, free: 149.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/0.2464, allocations: 499.6 kB / 1.53 GB, free: 149 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.972e-05/0.2465, allocations: 110.4 kB / 1.53 GB, free: 148.9 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.2465, allocations: 12 kB / 1.53 GB, free: 148.9 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.389e-05/0.2466, allocations: 330 kB / 1.531 GB, free: 148.6 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004297/0.2471, allocations: 169 kB / 1.531 GB, free: 148.4 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005321/0.2476, allocations: 362.9 kB / 1.531 GB, free: 148 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005064/0.2481, allocations: 236.8 kB / 1.531 GB, free: 147.8 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.335e-06/0.2481, allocations: 4 kB / 1.531 GB, free: 147.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001378/0.2495, allocations: 0.6251 MB / 1.532 GB, free: 147.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.2496, allocations: 8 kB / 1.532 GB, free: 147.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.2496, allocations: 4 kB / 1.532 GB, free: 147.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.666e-05/0.2497, allocations: 8 kB / 1.532 GB, free: 147.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005514/0.2502, allocations: 136.2 kB / 1.532 GB, free: 147 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.2502, allocations: 8 kB / 1.532 GB, free: 147 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008894/0.2511, allocations: 116.8 kB / 1.532 GB, free: 146.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/0.2512, allocations: 24 kB / 1.532 GB, free: 146.8 MB / 0.8073 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.0004511/0.2517, allocations: 281.5 kB / 1.533 GB, free: 146.6 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.2519, allocations: 102.8 kB / 1.533 GB, free: 146.4 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.253, allocations: 0.5034 MB / 1.533 GB, free: 145.9 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.253, allocations: 4 kB / 1.533 GB, free: 145.9 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.894e-06/0.253, allocations: 0 / 1.533 GB, free: 145.9 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008229/0.2539, allocations: 472.8 kB / 1.534 GB, free: 145.5 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.2562, allocations: 1.373 MB / 1.535 GB, free: 144 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.878e-06/0.2562, allocations: 0 / 1.535 GB, free: 144 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004239/0.2567, allocations: 83.88 kB / 1.535 GB, free: 143.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.901e-06/0.2567, allocations: 4 kB / 1.535 GB, free: 143.9 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/0.2568, allocations: 11.95 kB / 1.535 GB, free: 143.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.845e-06/0.2568, allocations: 8.062 kB / 1.535 GB, free: 143.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.934e-06/0.2568, allocations: 4.156 kB / 1.535 GB, free: 143.9 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.2582, allocations: 0.7873 MB / 1.536 GB, free: 143.1 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003868/0.2586, allocations: 247.7 kB / 1.536 GB, free: 142.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.2588, allocations: 8 kB / 1.536 GB, free: 142.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007186/0.2595, allocations: 59.86 kB / 1.536 GB, free: 142.8 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/0.2596, allocations: 27.91 kB / 1.536 GB, free: 142.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/0.2597, allocations: 23.98 kB / 1.536 GB, free: 142.7 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0009247/0.2606, allocations: 0.6352 MB / 1.537 GB, free: 142.1 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.57e-07/0.2606, allocations: 4 kB / 1.537 GB, free: 142.1 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00108/0.2617, allocations: 331.4 kB / 1.537 GB, free: 141.7 MB / 0.8073 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.0006769/0.2624, allocations: 352.4 kB / 1.537 GB, free: 141.4 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.2635, allocations: 436.6 kB / 1.538 GB, free: 141 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.632e-06/0.2635, allocations: 0 / 1.538 GB, free: 141 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004529/0.2639, allocations: 201 kB / 1.538 GB, free: 140.8 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003214/0.2672, allocations: 0.599 MB / 1.539 GB, free: 140.2 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.2702, allocations: 1.956 MB / 1.541 GB, free: 138.2 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005409/0.2708, allocations: 1.067 MB / 1.542 GB, free: 137.1 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001108/0.2719, allocations: 195.4 kB / 1.542 GB, free: 136.9 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.2721, allocations: 71.42 kB / 1.542 GB, free: 136.8 MB / 0.8073 GB Notification: Performance of SimCode: time 1.8e-06/0.2721, allocations: 0 / 1.542 GB, free: 136.8 MB / 0.8073 GB Notification: Performance of Templates: time 0.04014/0.3123, allocations: 19.57 MB / 1.561 GB, free: 117.6 MB / 0.8073 GB