Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00088/0.00088, allocations: 96.19 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009282/0.0009282, allocations: 177.4 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6874/0.6874, allocations: 113.8 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003051/0.0003052, allocations: 13.08 kB / 493 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1492, allocations: 77.15 MB / 0.5568 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.4262/0.5755, allocations: 176.6 MB / 0.7293 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009829/0.5854, allocations: 6.985 MB / 0.7361 GB, free: 2.309 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.5865, allocations: 39.69 kB / 0.7362 GB, free: 2.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001905/0.5884, allocations: 0.7193 MB / 0.7369 GB, free: 1.547 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005754/0.5941, allocations: 2.252 MB / 0.7391 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002879/0.597, allocations: 1.063 MB / 0.7401 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002853/0.5999, allocations: 1.629 MB / 0.7417 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.6012, allocations: 0.8392 MB / 0.7425 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002886/0.6041, allocations: 1.316 MB / 0.7438 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009806/0.6051, allocations: 0.6186 MB / 0.7444 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.6052, allocations: 44 kB / 0.7444 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002798/0.608, allocations: 1.334 MB / 0.7457 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003378/0.6084, allocations: 318.9 kB / 0.746 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003291/0.6087, allocations: 269.1 kB / 0.7463 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001871/0.6106, allocations: 1.6 MB / 0.7479 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.6106, allocations: 4 kB / 0.7479 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6106, allocations: 0 / 0.7479 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.694e-05/0.6106, allocations: 0 / 0.7479 GB, free: 6.262 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003916/0.6146, allocations: 1.58 MB / 0.7494 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.6146, allocations: 16.02 kB / 0.7494 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003155/0.6178, allocations: 0.5838 MB / 0.75 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.6196, allocations: 0.9221 MB / 0.7509 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006418/0.6203, allocations: 197.8 kB / 0.7511 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.6204, allocations: 83.98 kB / 0.7512 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/0.6232, allocations: 1.26 MB / 0.7524 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.6232, allocations: 0 / 0.7524 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.6233, allocations: 39.98 kB / 0.7524 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.415e-05/0.6234, allocations: 41.98 kB / 0.7525 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003798/0.6272, allocations: 1.612 MB / 0.754 GB, free: 15.82 MB / 0.5762 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.006445/0.6336, allocations: 4.073 MB / 0.758 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/0.6362, allocations: 1.068 MB / 0.7591 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007054/0.6369, allocations: 298.8 kB / 0.7593 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.637, allocations: 47.22 kB / 0.7594 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.715e-06/0.637, allocations: 0 / 0.7594 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.004887/0.6419, allocations: 1.917 MB / 0.7613 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.6419, allocations: 60.06 kB / 0.7613 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.643, allocations: 0.8076 MB / 0.7621 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.583e-05/0.6431, allocations: 41.7 kB / 0.7622 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003105/0.6434, allocations: 448.5 kB / 0.7626 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.6436, allocations: 260.1 kB / 0.7628 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.638e-05/0.6437, allocations: 20 kB / 0.7628 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.6438, allocations: 330 kB / 0.7632 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/0.6452, allocations: 0.5602 MB / 0.7637 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.6467, allocations: 0.6871 MB / 0.7644 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.6482, allocations: 0.61 MB / 0.765 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.6482, allocations: 0 / 0.765 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00336/0.6515, allocations: 1.407 MB / 0.7664 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001835/0.6517, allocations: 481.3 kB / 0.7668 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.6518, allocations: 3.984 kB / 0.7668 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.6518, allocations: 7.938 kB / 0.7668 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.6533, allocations: 271.7 kB / 0.7671 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006238/0.654, allocations: 1.195 MB / 0.7682 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.6553, allocations: 195.3 kB / 0.7684 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.823e-05/0.6554, allocations: 31.97 kB / 0.7685 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.6554, allocations: 4 kB / 0.7685 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003143/0.6585, allocations: 1.301 MB / 0.7697 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.6586, allocations: 11.89 kB / 0.7698 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.026e-06/0.6586, allocations: 4.062 kB / 0.7698 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.6598, allocations: 251.7 kB / 0.77 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.6598, allocations: 4 kB / 0.77 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.661, allocations: 192.4 kB / 0.7702 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-05/0.6611, allocations: 31.98 kB / 0.7702 GB, free: 14.72 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005672/0.6617, allocations: 368.9 kB / 0.7706 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.6619, allocations: 110.6 kB / 0.7707 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003416/0.6653, allocations: 1.437 MB / 0.7721 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.6654, allocations: 8 kB / 0.7721 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.6654, allocations: 0 / 0.7721 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.6654, allocations: 7.969 kB / 0.7721 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00559/0.671, allocations: 2.997 MB / 0.775 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.671, allocations: 8.031 kB / 0.775 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.6722, allocations: 247.7 kB / 0.7753 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.6723, allocations: 4 kB / 0.7753 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.506e-05/0.6723, allocations: 23.98 kB / 0.7753 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005389/0.6729, allocations: 1.196 MB / 0.7765 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.6729, allocations: 7.938 kB / 0.7765 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003376/0.6763, allocations: 1.749 MB / 0.7782 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005902/0.6769, allocations: 315.5 kB / 0.7785 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.677, allocations: 20 kB / 0.7785 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.6783, allocations: 167.7 kB / 0.7786 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.6784, allocations: 60.39 kB / 0.7787 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.619e-05/0.6785, allocations: 39.97 kB / 0.7787 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007043/0.6792, allocations: 0.566 MB / 0.7793 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6792, allocations: 4 kB / 0.7793 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001307/0.6805, allocations: 0.5263 MB / 0.7798 GB, free: 4.512 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005475/0.6811, allocations: 275.8 kB / 0.7801 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005252/0.6864, allocations: 2.135 MB / 0.7822 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.6864, allocations: 0 / 0.7822 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.6881, allocations: 0.7068 MB / 0.7829 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/0.6907, allocations: 0.5092 MB / 0.7834 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004471/0.6952, allocations: 2.49 MB / 0.7858 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006904/0.6959, allocations: 1.118 MB / 0.7869 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001621/0.6975, allocations: 391.5 kB / 0.7872 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/0.6978, allocations: 83.41 kB / 0.7873 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of SimCode: time 7.21e-07/0.6978, allocations: 4 kB / 0.7873 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of Templates: time 0.0315/0.7293, allocations: 19.61 MB / 0.8065 GB, free: 9.363 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)