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.001291/0.001291, allocations: 109.8 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6753/0.6753, allocations: 115.3 MB / 406.5 MB, free: 6.078 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 65.5 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1338, allocations: 76.17 MB / 0.632 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5064/0.6403, allocations: 214.2 MB / 0.8412 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01072/0.651, allocations: 7.054 MB / 0.8481 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001769/0.6528, allocations: 40.59 kB / 0.8481 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.6547, allocations: 0.7801 MB / 0.8489 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006027/0.6607, allocations: 2.529 MB / 0.8514 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002794/0.6635, allocations: 1.155 MB / 0.8525 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00351/0.667, allocations: 2.84 MB / 0.8553 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.6684, allocations: 1.084 MB / 0.8563 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003825/0.6722, allocations: 2.015 MB / 0.8583 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.6738, allocations: 0.9366 MB / 0.8592 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001744/0.674, allocations: 120 kB / 0.8593 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004218/0.6782, allocations: 2.455 MB / 0.8617 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000381/0.6786, allocations: 418.7 kB / 0.8621 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000665/0.6793, allocations: 0.692 MB / 0.8628 GB, free: 280 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003211/0.6825, allocations: 2.493 MB / 0.8652 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.6825, allocations: 0 / 0.8652 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.12e-07/0.6825, allocations: 0 / 0.8652 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.6826, allocations: 0 / 0.8652 GB, free: 13.77 MB / 0.6231 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.003818/0.6864, allocations: 1.844 MB / 0.867 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 2.231e-05/0.6864, allocations: 8.031 kB / 0.867 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002932/0.6894, allocations: 0.5447 MB / 0.8676 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.6912, allocations: 0.9962 MB / 0.8685 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.407e-05/0.6913, allocations: 70 kB / 0.8686 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.6914, allocations: 83.98 kB / 0.8687 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/0.6939, allocations: 1.225 MB / 0.8699 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.6939, allocations: 0 / 0.8699 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.529e-05/0.694, allocations: 36 kB / 0.8699 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.556e-05/0.6941, allocations: 41.98 kB / 0.87 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/0.6975, allocations: 1.53 MB / 0.8715 GB, free: 7.285 MB / 0.6231 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.005976/0.7035, allocations: 4.034 MB / 0.8754 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/0.7057, allocations: 0.9712 MB / 0.8763 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.7071, allocations: 0.659 MB / 0.877 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/0.7081, allocations: 0.6048 MB / 0.8776 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.7082, allocations: 51.16 kB / 0.8776 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.625e-06/0.7082, allocations: 4 kB / 0.8776 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.004659/0.7129, allocations: 1.785 MB / 0.8794 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.7129, allocations: 60.06 kB / 0.8794 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.7139, allocations: 0.8272 MB / 0.8802 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-05/0.714, allocations: 37.7 kB / 0.8803 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/0.7144, allocations: 444.5 kB / 0.8807 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.7146, allocations: 264 kB / 0.8809 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/0.7149, allocations: 150.5 kB / 0.8811 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.715, allocations: 337.9 kB / 0.8814 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.7163, allocations: 0.52 MB / 0.8819 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/0.7177, allocations: 0.6472 MB / 0.8826 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002592/0.7203, allocations: 1.115 MB / 0.8836 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.7203, allocations: 4 kB / 0.8836 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003104/0.7234, allocations: 1.333 MB / 0.8849 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.7235, allocations: 33.7 kB / 0.885 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.7235, allocations: 0 / 0.885 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.7235, allocations: 8.062 kB / 0.885 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.7249, allocations: 251.6 kB / 0.8852 GB, free: 8.625 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006336/0.7256, allocations: 1.193 MB / 0.8864 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009917/0.7266, allocations: 143.3 kB / 0.8865 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.022e-05/0.7267, allocations: 35.98 kB / 0.8866 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001589/0.7283, allocations: 0.7478 MB / 0.8873 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00138/0.7297, allocations: 0.6395 MB / 0.8879 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002587/0.7323, allocations: 1.111 MB / 0.889 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.136e-06/0.7323, allocations: 4 kB / 0.889 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003022/0.7353, allocations: 1.31 MB / 0.8903 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.7353, allocations: 41.69 kB / 0.8903 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.7353, allocations: 4 kB / 0.8903 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.7354, allocations: 12 kB / 0.8903 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.7365, allocations: 219.7 kB / 0.8905 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.7365, allocations: 4 kB / 0.8906 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009217/0.7374, allocations: 123.5 kB / 0.8907 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.259e-05/0.7375, allocations: 39.98 kB / 0.8907 GB, free: 2.891 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002445/0.7377, allocations: 216.1 kB / 0.8909 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.7379, allocations: 110.6 kB / 0.891 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003228/0.7412, allocations: 1.351 MB / 0.8923 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.7412, allocations: 8 kB / 0.8923 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.7412, allocations: 0 / 0.8923 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.7412, allocations: 7.984 kB / 0.8924 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004964/0.7462, allocations: 2.839 MB / 0.8951 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.7462, allocations: 4 kB / 0.8951 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/0.7473, allocations: 236.1 kB / 0.8954 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/0.7474, allocations: 7.938 kB / 0.8954 GB, free: 14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.425e-05/0.7474, allocations: 31.91 kB / 0.8954 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005723/0.748, allocations: 1.184 MB / 0.8966 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.748, allocations: 12.12 kB / 0.8966 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002991/0.751, allocations: 1.451 MB / 0.898 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000378/0.7514, allocations: 303.6 kB / 0.8983 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.7516, allocations: 23.98 kB / 0.8983 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.7526, allocations: 103.9 kB / 0.8984 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.7527, allocations: 64.36 kB / 0.8985 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.241e-05/0.7528, allocations: 39.97 kB / 0.8985 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00066/0.7535, allocations: 0.57 MB / 0.899 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7535, allocations: 0 / 0.899 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001175/0.7547, allocations: 0.538 MB / 0.8996 GB, free: 9.555 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004875/0.7551, allocations: 268.2 kB / 0.8998 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004748/0.7599, allocations: 2.006 MB / 0.9018 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7599, allocations: 4 kB / 0.9018 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001544/0.7615, allocations: 0.6597 MB / 0.9024 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/0.7637, allocations: 0.4955 MB / 0.9029 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003976/0.7677, allocations: 2.071 MB / 0.9049 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006606/0.7684, allocations: 1.094 MB / 0.906 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001362/0.7698, allocations: 391.5 kB / 0.9064 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003129/0.7701, allocations: 83.41 kB / 0.9065 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of SimCode: time 7.62e-07/0.7701, allocations: 0 / 0.9065 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of Templates: time 0.03008/0.8002, allocations: 21.09 MB / 0.9271 GB, free: 13.54 MB / 0.6856 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)