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.134/2.134, allocations: 252.6 MB / 265.2 MB, free: 5.719 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001463/0.001463, allocations: 183.8 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.915/1.915, allocations: 205.4 MB / 0.5754 GB, free: 10.46 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.001112/0.001111, allocations: 90.08 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.576e-05/3.593e-05, allocations: 7.984 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2016, allocations: 106.2 MB / 0.8949 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.819/2.02, allocations: 399.5 MB / 1.285 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/2.021, allocations: 96.34 kB / 1.285 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.989/4.009, allocations: 421.9 MB / 1.697 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.787e-06/4.01, allocations: 0 / 1.697 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001319/4.01, allocations: 35.05 kB / 1.697 GB, free: 193.7 MB / 0.8698 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.00323/4.013, allocations: 1.246 MB / 1.698 GB, free: 193 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/4.013, allocations: 10.31 kB / 1.698 GB, free: 193 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000662/4.014, allocations: 130 kB / 1.698 GB, free: 193 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03812/4.052, allocations: 12.35 MB / 1.711 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.129e-05/4.052, allocations: 55.69 kB / 1.711 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/4.052, allocations: 73.41 kB / 1.711 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/4.054, allocations: 0.7226 MB / 1.711 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.567e-05/4.054, allocations: 192 / 1.711 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-05/4.054, allocations: 32.28 kB / 1.711 GB, free: 187 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.156e-05/4.054, allocations: 20.94 kB / 1.711 GB, free: 187 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/4.055, allocations: 494.9 kB / 1.712 GB, free: 186.8 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.005607/4.061, allocations: 3.538 MB / 1.715 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007477/4.062, allocations: 337.1 kB / 1.716 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/4.062, allocations: 163.5 kB / 1.716 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005351/4.063, allocations: 0.6586 MB / 1.716 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/4.063, allocations: 42.45 kB / 1.717 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 2.846e-06/4.063, allocations: 3.938 kB / 1.717 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.001135/4.064, allocations: 369.6 kB / 1.717 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/4.064, allocations: 58.58 kB / 1.717 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/4.065, allocations: 0.8022 MB / 1.718 GB, free: 182 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.58e-05/4.066, allocations: 33.3 kB / 1.718 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004541/4.066, allocations: 0.4931 MB / 1.718 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/4.066, allocations: 112.3 kB / 1.718 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/4.066, allocations: 12.62 kB / 1.718 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.469e-05/4.066, allocations: 325.9 kB / 1.719 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/4.067, allocations: 121.8 kB / 1.719 GB, free: 181 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004508/4.067, allocations: 349.6 kB / 1.719 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004449/4.068, allocations: 187.3 kB / 1.719 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/4.068, allocations: 3.062 kB / 1.719 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00127/4.069, allocations: 0.5252 MB / 1.72 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/4.069, allocations: 8.781 kB / 1.72 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/4.069, allocations: 11.61 kB / 1.72 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.993e-05/4.069, allocations: 5.938 kB / 1.72 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007726/4.07, allocations: 123.1 kB / 1.72 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.84e-05/4.07, allocations: 15.14 kB / 1.72 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/4.071, allocations: 110.3 kB / 1.72 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.556e-05/4.071, allocations: 28.95 kB / 1.72 GB, free: 180.2 MB / 0.8698 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 () * 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.0001573/4.071, allocations: 139.3 kB / 1.72 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/4.072, allocations: 101.7 kB / 1.72 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/4.073, allocations: 440.9 kB / 1.721 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/4.073, allocations: 7.922 kB / 1.721 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/4.073, allocations: 7.781 kB / 1.721 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006615/4.073, allocations: 415 kB / 1.721 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002871/4.076, allocations: 1.388 MB / 1.723 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/4.076, allocations: 0 / 1.723 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006407/4.077, allocations: 78.98 kB / 1.723 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/4.077, allocations: 7.062 kB / 1.723 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/4.077, allocations: 11.58 kB / 1.723 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/4.077, allocations: 0 / 1.723 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/4.077, allocations: 3.969 kB / 1.723 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/4.079, allocations: 0.7792 MB / 1.723 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005968/4.079, allocations: 244.3 kB / 1.724 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/4.079, allocations: 7.938 kB / 1.724 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/4.08, allocations: 61.78 kB / 1.724 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.603e-05/4.081, allocations: 23.72 kB / 1.724 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.488e-05/4.081, allocations: 19.7 kB / 1.724 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001213/4.082, allocations: 0.6418 MB / 1.724 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.91e-07/4.082, allocations: 0 / 1.724 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001635/4.084, allocations: 362.4 kB / 1.725 GB, free: 177.2 MB / 0.8698 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 () * 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.001228/4.085, allocations: 0.5563 MB / 1.725 GB, free: 177 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008876/4.086, allocations: 349.4 kB / 1.726 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/4.086, allocations: 3.938 kB / 1.726 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003725/4.086, allocations: 168.8 kB / 1.726 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005154/4.091, allocations: 0.606 MB / 1.726 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/4.094, allocations: 1.223 MB / 1.728 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/4.095, allocations: 1.057 MB / 1.729 GB, free: 175 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001382/4.096, allocations: 194.5 kB / 1.729 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/4.097, allocations: 83.72 kB / 1.729 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.222e-06/4.097, allocations: 0 / 1.729 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.05708/4.154, allocations: 22.82 MB / 1.751 GB, free: 161.3 MB / 0.8698 GB