Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003734/0.00374, allocations: 354.1 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.658/1.658, allocations: 165.8 MB / 182.5 MB, free: 5.527 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.587/3.587, allocations: 410.8 MB / 0.5995 GB, free: 15.19 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001722/0.001722, allocations: 202.1 kB / 0.6662 GB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004584/0.0004587, allocations: 12 kB / 0.7423 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3603, allocations: 67.43 MB / 0.8082 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.07896/0.4394, allocations: 38.27 MB / 0.8455 GB, free: 6.434 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03061/0.47, allocations: 9.501 MB / 0.8548 GB, free: 12.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002619/0.4727, allocations: 47.69 kB / 0.8548 GB, free: 12.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003743/0.4765, allocations: 0.5589 MB / 0.8554 GB, free: 12.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01187/0.4884, allocations: 1.881 MB / 0.8572 GB, free: 10.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009851/0.4983, allocations: 1.36 MB / 0.8586 GB, free: 9.082 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01003/0.5084, allocations: 3.861 MB / 0.8623 GB, free: 5.211 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002561/0.511, allocations: 0.7397 MB / 0.863 GB, free: 4.461 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003864/0.5149, allocations: 0.9603 MB / 0.864 GB, free: 3.496 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002653/0.5176, allocations: 0.8049 MB / 0.8648 GB, free: 2.688 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002963/0.518, allocations: 36 kB / 0.8648 GB, free: 2.652 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003566/0.5216, allocations: 490.6 kB / 0.8653 GB, free: 2.172 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006322/0.5223, allocations: 203.1 kB / 0.8655 GB, free: 1.973 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008014/0.5231, allocations: 269 kB / 0.8657 GB, free: 1.703 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003852/0.527, allocations: 1.368 MB / 0.8671 GB, free: 340 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.867e-06/0.527, allocations: 0 / 0.8671 GB, free: 340 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.567e-06/0.5271, allocations: 0 / 0.8671 GB, free: 340 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.528e-05/0.5271, allocations: 0 / 0.8671 GB, free: 340 kB / 410.7 MB 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.004703/0.5318, allocations: 1.308 MB / 0.8683 GB, free: 14.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.5319, allocations: 8.031 kB / 0.8683 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008385/0.5328, allocations: 134.5 kB / 0.8685 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004165/0.537, allocations: 1.021 MB / 0.8695 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.5371, allocations: 58 kB / 0.8695 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002439/0.5374, allocations: 72 kB / 0.8696 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004485/0.5419, allocations: 0.7983 MB / 0.8704 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.681e-05/0.5421, allocations: 7.906 kB / 0.8704 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002604/0.5424, allocations: 35.95 kB / 0.8704 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.5425, allocations: 23.98 kB / 0.8704 GB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004435/0.547, allocations: 0.5828 MB / 0.871 GB, free: 12.16 MB / 426.7 MB 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.008417/0.5554, allocations: 3.548 MB / 0.8745 GB, free: 8.387 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000762/0.5562, allocations: 270.6 kB / 0.8747 GB, free: 8.113 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004727/0.5567, allocations: 187.5 kB / 0.8749 GB, free: 7.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006764/0.5574, allocations: 0.6609 MB / 0.8756 GB, free: 7.121 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.5575, allocations: 38.56 kB / 0.8756 GB, free: 7.074 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 3.236e-06/0.5575, allocations: 0 / 0.8756 GB, free: 7.074 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.001628/0.5591, allocations: 0.5398 MB / 0.8761 GB, free: 6.527 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.5592, allocations: 55.41 kB / 0.8762 GB, free: 6.461 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.5608, allocations: 0.9137 MB / 0.8771 GB, free: 5.527 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.1e-05/0.5609, allocations: 37.7 kB / 0.8771 GB, free: 5.484 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005576/0.5615, allocations: 499.5 kB / 0.8776 GB, free: 4.988 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.5617, allocations: 118.4 kB / 0.8777 GB, free: 4.871 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.5617, allocations: 8 kB / 0.8777 GB, free: 4.863 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.5619, allocations: 330 kB / 0.878 GB, free: 4.535 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005011/0.5624, allocations: 177 kB / 0.8782 GB, free: 4.363 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007015/0.5631, allocations: 356.1 kB / 0.8785 GB, free: 3.941 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006184/0.5638, allocations: 227.8 kB / 0.8787 GB, free: 3.719 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.231e-06/0.5638, allocations: 4 kB / 0.8787 GB, free: 3.715 MB / 426.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001651/0.5655, allocations: 0.6367 MB / 0.8794 GB, free: 3.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.5655, allocations: 15.92 kB / 0.8794 GB, free: 3.055 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.5655, allocations: 4 kB / 0.8794 GB, free: 3.051 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.5656, allocations: 8 kB / 0.8794 GB, free: 3.043 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005982/0.5662, allocations: 132.2 kB / 0.8795 GB, free: 2.914 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.832e-05/0.5662, allocations: 15.88 kB / 0.8795 GB, free: 2.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.5676, allocations: 115.2 kB / 0.8796 GB, free: 2.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.968e-05/0.5677, allocations: 24 kB / 0.8797 GB, free: 2.762 MB / 426.7 MB 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.0005691/0.5683, allocations: 273.6 kB / 0.8799 GB, free: 2.484 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/0.5685, allocations: 102.7 kB / 0.88 GB, free: 2.383 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.5698, allocations: 0.5042 MB / 0.8805 GB, free: 1.871 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.5699, allocations: 4 kB / 0.8805 GB, free: 1.867 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.5699, allocations: 0 / 0.8805 GB, free: 1.867 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001024/0.5709, allocations: 473.2 kB / 0.881 GB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003026/0.574, allocations: 1.37 MB / 0.8823 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.009e-06/0.574, allocations: 0 / 0.8823 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004715/0.5745, allocations: 83.89 kB / 0.8824 GB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.728e-06/0.5745, allocations: 0 / 0.8824 GB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.209e-05/0.5746, allocations: 16.05 kB / 0.8824 GB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.843e-06/0.5746, allocations: 4 kB / 0.8824 GB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.125e-06/0.5746, allocations: 4 kB / 0.8824 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.5765, allocations: 0.798 MB / 0.8832 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006258/0.5771, allocations: 243.7 kB / 0.8834 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.5773, allocations: 8 kB / 0.8834 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008305/0.5782, allocations: 63.86 kB / 0.8835 GB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-05/0.5783, allocations: 27.95 kB / 0.8835 GB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-05/0.5784, allocations: 19.94 kB / 0.8835 GB, free: 14.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001297/0.5797, allocations: 0.6352 MB / 0.8842 GB, free: 13.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.33e-07/0.5797, allocations: 0 / 0.8842 GB, free: 13.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001343/0.581, allocations: 327.5 kB / 0.8845 GB, free: 13.66 MB / 442.7 MB 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.0008381/0.5819, allocations: 360.3 kB / 0.8848 GB, free: 13.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.5832, allocations: 441.2 kB / 0.8852 GB, free: 12.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.5832, allocations: 0 / 0.8852 GB, free: 12.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005208/0.5837, allocations: 192.6 kB / 0.8854 GB, free: 12.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003772/0.5875, allocations: 0.6016 MB / 0.886 GB, free: 12.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003703/0.5913, allocations: 1.953 MB / 0.8879 GB, free: 10.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009053/0.5922, allocations: 1.056 MB / 0.8889 GB, free: 8.996 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001218/0.5934, allocations: 206 kB / 0.8891 GB, free: 8.793 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/0.5937, allocations: 75.42 kB / 0.8892 GB, free: 8.723 MB / 442.7 MB Notification: Performance of SimCode: time 1.676e-06/0.5937, allocations: 0 / 0.8892 GB, free: 8.723 MB / 442.7 MB Notification: Performance of Templates: time 0.04812/0.6418, allocations: 19.56 MB / 0.9083 GB, free: 5.395 MB / 458.7 MB