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.864/4.864, allocations: 0.5623 GB / 0.5775 GB, free: 3.324 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00262/0.00262, allocations: 357.6 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.11/4.11, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001768/0.001768, allocations: 172.1 kB / 1.226 GB, free: 35.93 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0007668/0.0007671, allocations: 12 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2118, allocations: 115.3 MB / 1.461 GB, free: 6.566 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.314/1.525, allocations: 407.2 MB / 1.859 GB, free: 15.09 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003553/1.526, allocations: 99.39 kB / 1.859 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.784/4.31, allocations: 432.5 MB / 2.281 GB, free: 207.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.774e-06/4.31, allocations: 2.531 kB / 2.281 GB, free: 207.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000121/4.31, allocations: 31.59 kB / 2.281 GB, free: 207.5 MB / 0.9323 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.004085/4.314, allocations: 1.445 MB / 2.283 GB, free: 207 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/4.314, allocations: 11.34 kB / 2.283 GB, free: 207 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005704/4.315, allocations: 144.9 kB / 2.283 GB, free: 206.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03407/4.349, allocations: 11.76 MB / 2.295 GB, free: 206.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.824e-05/4.349, allocations: 59.23 kB / 2.295 GB, free: 206.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/4.349, allocations: 74.91 kB / 2.295 GB, free: 206.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/4.351, allocations: 0.7734 MB / 2.295 GB, free: 206.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.817e-05/4.351, allocations: 0 / 2.295 GB, free: 206.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.577e-05/4.352, allocations: 30.38 kB / 2.295 GB, free: 206.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.663e-05/4.352, allocations: 19.97 kB / 2.295 GB, free: 206.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/4.353, allocations: 0.5655 MB / 2.296 GB, free: 206.1 MB / 0.9323 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.005255/4.359, allocations: 3.536 MB / 2.299 GB, free: 204.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000929/4.359, allocations: 365.7 kB / 2.3 GB, free: 204.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005507/4.36, allocations: 202.7 kB / 2.3 GB, free: 204.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005439/4.361, allocations: 0.6572 MB / 2.301 GB, free: 203.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/4.361, allocations: 41.73 kB / 2.301 GB, free: 203.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=31): time 3.206e-06/4.361, allocations: 0 / 2.301 GB, free: 203.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=31): time 0.001835/4.362, allocations: 0.5587 MB / 2.301 GB, free: 203.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/4.363, allocations: 61.19 kB / 2.301 GB, free: 203.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/4.364, allocations: 0.9098 MB / 2.302 GB, free: 203.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.478e-05/4.364, allocations: 33.52 kB / 2.302 GB, free: 203.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/4.365, allocations: 0.4934 MB / 2.303 GB, free: 202.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/4.365, allocations: 113.1 kB / 2.303 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/4.365, allocations: 9.844 kB / 2.303 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.371e-05/4.365, allocations: 330.5 kB / 2.303 GB, free: 202.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005304/4.365, allocations: 157.1 kB / 2.303 GB, free: 202.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006725/4.366, allocations: 383.8 kB / 2.304 GB, free: 202.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006249/4.367, allocations: 231 kB / 2.304 GB, free: 202.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/4.367, allocations: 0 / 2.304 GB, free: 202.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001653/4.368, allocations: 0.6015 MB / 2.304 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/4.368, allocations: 7.031 kB / 2.304 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/4.368, allocations: 6.812 kB / 2.304 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/4.368, allocations: 14.89 kB / 2.304 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/4.369, allocations: 117.4 kB / 2.305 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/4.369, allocations: 6.906 kB / 2.305 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/4.37, allocations: 113.7 kB / 2.305 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/4.371, allocations: 36.25 kB / 2.305 GB, free: 202.2 MB / 0.9323 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.0005746/4.371, allocations: 269.3 kB / 2.305 GB, free: 202.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/4.371, allocations: 101.2 kB / 2.305 GB, free: 202 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/4.373, allocations: 0.5058 MB / 2.306 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/4.373, allocations: 10.58 kB / 2.306 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/4.373, allocations: 0 / 2.306 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001094/4.374, allocations: 482.3 kB / 2.306 GB, free: 201.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/4.377, allocations: 1.459 MB / 2.307 GB, free: 201.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/4.377, allocations: 6.875 kB / 2.307 GB, free: 201.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006004/4.378, allocations: 75.69 kB / 2.308 GB, free: 201.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/4.378, allocations: 3.125 kB / 2.308 GB, free: 201.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/4.378, allocations: 18.22 kB / 2.308 GB, free: 201.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/4.378, allocations: 1.5 kB / 2.308 GB, free: 201.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/4.378, allocations: 6.344 kB / 2.308 GB, free: 201.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/4.38, allocations: 0.8184 MB / 2.308 GB, free: 201.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004978/4.38, allocations: 243 kB / 2.309 GB, free: 201 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/4.38, allocations: 10.38 kB / 2.309 GB, free: 201 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000994/4.381, allocations: 54.23 kB / 2.309 GB, free: 201 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.165e-05/4.381, allocations: 27.44 kB / 2.309 GB, free: 201 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.785e-05/4.382, allocations: 20.67 kB / 2.309 GB, free: 201 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001139/4.383, allocations: 0.6367 MB / 2.309 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.51e-07/4.383, allocations: 0 / 2.309 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001461/4.384, allocations: 358 kB / 2.31 GB, free: 200.8 MB / 0.9323 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.001168/4.385, allocations: 0.5405 MB / 2.31 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001344/4.387, allocations: 424.8 kB / 2.311 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/4.387, allocations: 6.594 kB / 2.311 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005923/4.387, allocations: 212.3 kB / 2.311 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00526/4.393, allocations: 0.6182 MB / 2.311 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/4.396, allocations: 1.955 MB / 2.313 GB, free: 199.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005737/4.397, allocations: 1.066 MB / 2.314 GB, free: 199.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001333/4.398, allocations: 203.8 kB / 2.315 GB, free: 199 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/4.398, allocations: 87.95 kB / 2.315 GB, free: 199 MB / 0.9323 GB Notification: Performance of SimCode: time 1.002e-06/4.398, allocations: 0 / 2.315 GB, free: 199 MB / 0.9323 GB Notification: Performance of Templates: time 0.05274/4.451, allocations: 22.15 MB / 2.336 GB, free: 198.6 MB / 0.9323 GB