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.001417/0.001416, allocations: 187.3 kB / 15.77 MB, free: 6.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6663/0.6663, allocations: 82.94 MB / 99.43 MB, free: 2.242 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.4 MB / 325.4 MB, free: 6.535 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009887/0.0009883, allocations: 89.41 kB / 393.6 MB, free: 11.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004638/0.0004639, allocations: 12 kB / 471.5 MB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3895, allocations: 67.43 MB / 0.5264 GB, free: 55.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04398/0.4336, allocations: 34.78 MB / 0.5603 GB, free: 30.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01556/0.4492, allocations: 8.864 MB / 0.569 GB, free: 23.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003135/0.4524, allocations: 43.69 kB / 0.569 GB, free: 23.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003408/0.4558, allocations: 0.6063 MB / 0.5696 GB, free: 22.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008625/0.4645, allocations: 1.79 MB / 0.5714 GB, free: 20.69 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004934/0.4694, allocations: 1.359 MB / 0.5727 GB, free: 19.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003816/0.4733, allocations: 1.963 MB / 0.5746 GB, free: 17.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.4746, allocations: 0.7516 MB / 0.5753 GB, free: 16.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001879/0.4765, allocations: 0.8874 MB / 0.5762 GB, free: 15.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008203/0.4774, allocations: 0.5443 MB / 0.5767 GB, free: 15.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.4775, allocations: 36 kB / 0.5768 GB, free: 15.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001906/0.4794, allocations: 0.5461 MB / 0.5773 GB, free: 14.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002386/0.4797, allocations: 191.2 kB / 0.5775 GB, free: 14.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003382/0.48, allocations: 261.1 kB / 0.5777 GB, free: 14.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001796/0.4819, allocations: 1.356 MB / 0.5791 GB, free: 12.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.109e-06/0.4819, allocations: 0 / 0.5791 GB, free: 12.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.579e-06/0.4819, allocations: 0 / 0.5791 GB, free: 12.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.4819, allocations: 0 / 0.5791 GB, free: 12.8 MB / 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.002134/0.4841, allocations: 1.312 MB / 0.5803 GB, free: 11.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.4841, allocations: 8.031 kB / 0.5803 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000391/0.4845, allocations: 134.5 kB / 0.5805 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/0.4862, allocations: 0.9631 MB / 0.5814 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.546e-05/0.4863, allocations: 54 kB / 0.5815 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.4864, allocations: 68 kB / 0.5815 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.488, allocations: 0.7983 MB / 0.5823 GB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.4881, allocations: 3.938 kB / 0.5823 GB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.274e-05/0.4882, allocations: 31.95 kB / 0.5823 GB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.458e-05/0.4882, allocations: 20 kB / 0.5824 GB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.4896, allocations: 0.5867 MB / 0.5829 GB, free: 8.699 MB / 410.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.00446/0.4941, allocations: 3.579 MB / 0.5864 GB, free: 4.895 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006579/0.4948, allocations: 271.2 kB / 0.5867 GB, free: 4.621 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004013/0.4952, allocations: 0.6532 MB / 0.5873 GB, free: 3.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.4952, allocations: 38.56 kB / 0.5874 GB, free: 3.773 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 3.665e-06/0.4952, allocations: 4 kB / 0.5874 GB, free: 3.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.001432/0.4967, allocations: 0.5397 MB / 0.5879 GB, free: 3.223 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.4967, allocations: 55.41 kB / 0.5879 GB, free: 3.156 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.4981, allocations: 0.9605 MB / 0.5889 GB, free: 2.176 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.832e-05/0.4982, allocations: 33.7 kB / 0.5889 GB, free: 2.137 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003712/0.4986, allocations: 0.4995 MB / 0.5894 GB, free: 1.629 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.4987, allocations: 106.5 kB / 0.5895 GB, free: 1.523 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.4987, allocations: 8 kB / 0.5895 GB, free: 1.516 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.837e-05/0.4988, allocations: 326 kB / 0.5898 GB, free: 1.191 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/0.4993, allocations: 177 kB / 0.59 GB, free: 1.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005311/0.4998, allocations: 350.9 kB / 0.5903 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005294/0.5004, allocations: 231.8 kB / 0.5906 GB, free: 384 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.414e-06/0.5004, allocations: 4 kB / 0.5906 GB, free: 380 kB / 410.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00153/0.5019, allocations: 0.6369 MB / 0.5912 GB, free: 15.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.502, allocations: 12.12 kB / 0.5912 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.502, allocations: 4 kB / 0.5912 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.502, allocations: 12 kB / 0.5912 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005934/0.5027, allocations: 123.8 kB / 0.5913 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/0.5027, allocations: 11.94 kB / 0.5913 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009968/0.5037, allocations: 123.1 kB / 0.5915 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.19e-05/0.5038, allocations: 28 kB / 0.5915 GB, free: 15.42 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.0005957/0.5044, allocations: 281.5 kB / 0.5917 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.5046, allocations: 102.7 kB / 0.5918 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.506, allocations: 499.4 kB / 0.5923 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.5061, allocations: 4 kB / 0.5923 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.57e-06/0.5061, allocations: 4 kB / 0.5923 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001025/0.5071, allocations: 481.1 kB / 0.5928 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003114/0.5102, allocations: 1.385 MB / 0.5941 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.192e-06/0.5103, allocations: 0 / 0.5941 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004628/0.5108, allocations: 92.03 kB / 0.5942 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.776e-06/0.5108, allocations: 0 / 0.5942 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.5108, allocations: 8 kB / 0.5942 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.872e-06/0.5109, allocations: 7.938 kB / 0.5942 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.181e-06/0.5109, allocations: 0 / 0.5942 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.5128, allocations: 0.8688 MB / 0.5951 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005624/0.5134, allocations: 251.7 kB / 0.5953 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.5136, allocations: 15.94 kB / 0.5953 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007655/0.5143, allocations: 59.88 kB / 0.5954 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.876e-05/0.5144, allocations: 23.97 kB / 0.5954 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.652e-05/0.5145, allocations: 15.98 kB / 0.5954 GB, free: 11.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001294/0.5158, allocations: 0.6743 MB / 0.5961 GB, free: 10.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.53e-07/0.5158, allocations: 0 / 0.5961 GB, free: 10.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001295/0.5171, allocations: 343.4 kB / 0.5964 GB, free: 10.15 MB / 426.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.0008741/0.518, allocations: 384.3 kB / 0.5968 GB, free: 9.773 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.5193, allocations: 436.4 kB / 0.5972 GB, free: 9.348 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.397e-06/0.5193, allocations: 448 / 0.5972 GB, free: 9.348 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005302/0.5198, allocations: 195.8 kB / 0.5974 GB, free: 9.156 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003421/0.5233, allocations: 0.5989 MB / 0.598 GB, free: 8.559 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.5271, allocations: 1.95 MB / 0.5999 GB, free: 6.559 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009803/0.5281, allocations: 1.06 MB / 0.6009 GB, free: 5.465 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001161/0.5293, allocations: 192.4 kB / 0.6011 GB, free: 5.273 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/0.5296, allocations: 83.41 kB / 0.6012 GB, free: 5.195 MB / 426.7 MB Notification: Performance of SimCode: time 1.597e-06/0.5296, allocations: 0 / 0.6012 GB, free: 5.195 MB / 426.7 MB Notification: Performance of Templates: time 0.05013/0.5797, allocations: 20.22 MB / 0.6209 GB, free: 1.137 MB / 442.7 MB