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.002507/0.002507, allocations: 359 kB / 16.59 MB, free: 5.562 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.383/1.383, allocations: 165.8 MB / 183.1 MB, free: 5.5 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.754/3.754, allocations: 410.7 MB / 0.6001 GB, free: 15.07 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.001769/0.001769, allocations: 196.2 kB / 0.6668 GB, free: 6.906 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.000466, allocations: 12 kB / 0.7429 GB, free: 8.941 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3958, allocations: 67.44 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04782/0.4436, allocations: 38.27 MB / 0.8461 GB, free: 6.395 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01977/0.4634, allocations: 9.495 MB / 0.8554 GB, free: 12.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001875/0.4654, allocations: 47.69 kB / 0.8554 GB, free: 12.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002655/0.4681, allocations: 0.5589 MB / 0.856 GB, free: 12.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007693/0.4758, allocations: 1.891 MB / 0.8578 GB, free: 10.37 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005982/0.4818, allocations: 1.351 MB / 0.8591 GB, free: 9.043 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006889/0.4887, allocations: 3.854 MB / 0.8629 GB, free: 5.176 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.4904, allocations: 0.7397 MB / 0.8636 GB, free: 4.426 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.4929, allocations: 0.9564 MB / 0.8646 GB, free: 3.465 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/0.4945, allocations: 0.8088 MB / 0.8654 GB, free: 2.652 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.4947, allocations: 36 kB / 0.8654 GB, free: 2.617 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.4968, allocations: 486.6 kB / 0.8659 GB, free: 2.141 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003258/0.4971, allocations: 207 kB / 0.8661 GB, free: 1.938 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004203/0.4976, allocations: 257.1 kB / 0.8663 GB, free: 1.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002363/0.5, allocations: 1.372 MB / 0.8676 GB, free: 312 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.5, allocations: 4 kB / 0.8676 GB, free: 308 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5, allocations: 0 / 0.8676 GB, free: 308 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.5, allocations: 0 / 0.8676 GB, free: 308 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.003149/0.5032, allocations: 1.308 MB / 0.8689 GB, free: 14.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.5032, allocations: 8.031 kB / 0.8689 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004603/0.5037, allocations: 134.5 kB / 0.8691 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00282/0.5065, allocations: 1.029 MB / 0.8701 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.867e-05/0.5067, allocations: 58 kB / 0.8701 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/0.5069, allocations: 72 kB / 0.8702 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002903/0.5098, allocations: 0.7944 MB / 0.871 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.943e-05/0.5099, allocations: 11.84 kB / 0.871 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.5101, allocations: 35.94 kB / 0.871 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-05/0.5101, allocations: 20 kB / 0.871 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002469/0.5126, allocations: 0.5867 MB / 0.8716 GB, free: 12.12 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.00838/0.521, allocations: 3.548 MB / 0.8751 GB, free: 8.348 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.5223, allocations: 264.5 kB / 0.8753 GB, free: 8.082 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008786/0.5232, allocations: 192.7 kB / 0.8755 GB, free: 7.891 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009051/0.5242, allocations: 0.6532 MB / 0.8761 GB, free: 7.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.272e-05/0.5242, allocations: 42.55 kB / 0.8762 GB, free: 7.039 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 6.822e-06/0.5242, allocations: 4 kB / 0.8762 GB, free: 7.035 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.002564/0.5268, allocations: 0.5359 MB / 0.8767 GB, free: 6.492 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.5269, allocations: 55.41 kB / 0.8768 GB, free: 6.426 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002277/0.5292, allocations: 0.9137 MB / 0.8776 GB, free: 5.492 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.117e-05/0.5293, allocations: 37.7 kB / 0.8777 GB, free: 5.449 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007371/0.53, allocations: 0.4917 MB / 0.8782 GB, free: 4.949 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.5302, allocations: 114.4 kB / 0.8783 GB, free: 4.836 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.5303, allocations: 8 kB / 0.8783 GB, free: 4.828 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.5305, allocations: 334 kB / 0.8786 GB, free: 4.496 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008317/0.5314, allocations: 165 kB / 0.8788 GB, free: 4.336 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.5325, allocations: 366.4 kB / 0.8791 GB, free: 3.906 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009912/0.5335, allocations: 223.9 kB / 0.8793 GB, free: 3.688 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.5335, allocations: 0 / 0.8793 GB, free: 3.688 MB / 426.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00258/0.5361, allocations: 0.6443 MB / 0.8799 GB, free: 3.035 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.5362, allocations: 8.531 kB / 0.88 GB, free: 3.027 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.5362, allocations: 8 kB / 0.88 GB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/0.5363, allocations: 8 kB / 0.88 GB, free: 3.012 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.5374, allocations: 131.8 kB / 0.8801 GB, free: 2.883 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.215e-05/0.5375, allocations: 11.94 kB / 0.8801 GB, free: 2.871 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.5392, allocations: 115.2 kB / 0.8802 GB, free: 2.758 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.833e-05/0.5393, allocations: 24 kB / 0.8802 GB, free: 2.734 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.0007569/0.5401, allocations: 277.6 kB / 0.8805 GB, free: 2.453 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.5404, allocations: 106.7 kB / 0.8806 GB, free: 2.348 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.5425, allocations: 0.4964 MB / 0.8811 GB, free: 1.844 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001646/0.5442, allocations: 469.2 kB / 0.8815 GB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.5442, allocations: 4 kB / 0.8815 GB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006323/0.5449, allocations: 235.7 kB / 0.8818 GB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.5451, allocations: 12 kB / 0.8818 GB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/0.5465, allocations: 51.89 kB / 0.8818 GB, free: 1.039 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.5466, allocations: 24.25 kB / 0.8819 GB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002346/0.549, allocations: 0.5351 MB / 0.8824 GB, free: 484 kB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002959/0.552, allocations: 0.8506 MB / 0.8832 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008022/0.5528, allocations: 200.1 kB / 0.8834 GB, free: 15.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001746/0.5545, allocations: 0.627 MB / 0.884 GB, free: 14.77 MB / 442.7 MB Notification: Performance of Backend: time 6.01e-07/0.5546, allocations: 0 / 0.884 GB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003357/0.5579, allocations: 0.6774 MB / 0.8847 GB, free: 14.11 MB / 442.7 MB Notification: Performance of SimCode: time 0.009832/0.5678, allocations: 2.804 MB / 0.8874 GB, free: 11.25 MB / 442.7 MB Notification: Performance of Templates: time 0.05906/0.6269, allocations: 19.82 MB / 0.9068 GB, free: 7.648 MB / 458.7 MB