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.001005/0.001005, allocations: 92.47 kB / 15.7 MB, free: 472 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.001097/0.001096, allocations: 168.3 kB / 16.58 MB, free: 6.066 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.373/1.373, allocations: 223.3 MB / 240.6 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6968/0.6968, allocations: 115.5 MB / 407.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003026/0.0003026, allocations: 8.5 kB / 495.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1375, allocations: 77.54 MB / 0.5593 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.4505/0.588, allocations: 195.1 MB / 0.7499 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009814/0.5979, allocations: 6.619 MB / 0.7563 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.599, allocations: 39.69 kB / 0.7564 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.6004, allocations: 0.4967 MB / 0.7569 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004507/0.605, allocations: 1.804 MB / 0.7586 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002386/0.6074, allocations: 0.9022 MB / 0.7595 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003563/0.6109, allocations: 3.19 MB / 0.7626 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.6122, allocations: 0.7918 MB / 0.7634 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003101/0.6153, allocations: 1.533 MB / 0.7649 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001236/0.6165, allocations: 0.8638 MB / 0.7657 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.6167, allocations: 44 kB / 0.7658 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003138/0.6198, allocations: 1.54 MB / 0.7673 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003734/0.6202, allocations: 342.8 kB / 0.7676 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003232/0.6205, allocations: 273 kB / 0.7679 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.6225, allocations: 1.723 MB / 0.7696 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6225, allocations: 0 / 0.7696 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6225, allocations: 0 / 0.7696 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.607e-05/0.6225, allocations: 0 / 0.7696 GB, free: 15.89 MB / 0.5919 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.003853/0.6264, allocations: 1.607 MB / 0.7711 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.6264, allocations: 12.03 kB / 0.7711 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002976/0.6294, allocations: 0.5837 MB / 0.7717 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.6311, allocations: 0.926 MB / 0.7726 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005929/0.6317, allocations: 201.3 kB / 0.7728 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.6318, allocations: 87.98 kB / 0.7729 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002679/0.6345, allocations: 1.264 MB / 0.7741 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.6345, allocations: 4 kB / 0.7741 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.6346, allocations: 32 kB / 0.7742 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-05/0.6347, allocations: 45.98 kB / 0.7742 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003662/0.6384, allocations: 1.608 MB / 0.7758 GB, free: 9.422 MB / 0.5919 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.006/0.6444, allocations: 4.088 MB / 0.7798 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002448/0.6468, allocations: 1.047 MB / 0.7808 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/0.6483, allocations: 0.6942 MB / 0.7815 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/0.6494, allocations: 0.6399 MB / 0.7821 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.6495, allocations: 43.22 kB / 0.7821 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.484e-06/0.6495, allocations: 0 / 0.7821 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.004747/0.6542, allocations: 1.914 MB / 0.784 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.6543, allocations: 64.05 kB / 0.7841 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009987/0.6553, allocations: 0.8037 MB / 0.7848 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.825e-05/0.6554, allocations: 49.64 kB / 0.7849 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.6558, allocations: 452.3 kB / 0.7853 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.656, allocations: 260.2 kB / 0.7856 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/0.656, allocations: 12 kB / 0.7856 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.6562, allocations: 330 kB / 0.7859 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.6576, allocations: 0.5602 MB / 0.7864 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/0.6591, allocations: 0.6863 MB / 0.7871 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.6606, allocations: 0.6099 MB / 0.7877 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.6606, allocations: 4 kB / 0.7877 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00342/0.664, allocations: 1.396 MB / 0.7891 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.6641, allocations: 155.9 kB / 0.7892 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.6642, allocations: 0 / 0.7892 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.6642, allocations: 4 kB / 0.7892 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.6658, allocations: 275.6 kB / 0.7895 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008041/0.6666, allocations: 1.203 MB / 0.7907 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.6678, allocations: 195.4 kB / 0.7909 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.948e-05/0.6679, allocations: 32.86 kB / 0.7909 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/0.6679, allocations: 4 kB / 0.7909 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003086/0.671, allocations: 1.301 MB / 0.7922 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.671, allocations: 0 / 0.7922 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.773e-06/0.671, allocations: 4 kB / 0.7922 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.6722, allocations: 251.8 kB / 0.7924 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.6723, allocations: 4 kB / 0.7924 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.6733, allocations: 194.1 kB / 0.7926 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.289e-05/0.6734, allocations: 39.97 kB / 0.7926 GB, free: 7.566 MB / 0.6075 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.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.0005481/0.674, allocations: 368.9 kB / 0.793 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002471/0.6743, allocations: 106.7 kB / 0.7931 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003542/0.6778, allocations: 1.437 MB / 0.7945 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.6778, allocations: 11.98 kB / 0.7945 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.6778, allocations: 0 / 0.7945 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.6779, allocations: 7.984 kB / 0.7945 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005684/0.6836, allocations: 2.921 MB / 0.7974 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.6836, allocations: 4.469 kB / 0.7974 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.6849, allocations: 263.5 kB / 0.7976 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/0.6849, allocations: 12 kB / 0.7976 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.7e-05/0.685, allocations: 19.98 kB / 0.7976 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007106/0.6857, allocations: 1.192 MB / 0.7988 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.6857, allocations: 4.188 kB / 0.7988 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00327/0.689, allocations: 1.533 MB / 0.8003 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006337/0.6896, allocations: 315.5 kB / 0.8006 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.6898, allocations: 16 kB / 0.8006 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.6909, allocations: 167.7 kB / 0.8008 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.6911, allocations: 64.38 kB / 0.8008 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.671e-05/0.6912, allocations: 31.97 kB / 0.8009 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007558/0.6919, allocations: 0.5661 MB / 0.8014 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6919, allocations: 0 / 0.8014 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001348/0.6933, allocations: 0.5341 MB / 0.802 GB, free: 13.75 MB / 0.6231 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 (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.0005712/0.6939, allocations: 269.6 kB / 0.8022 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005193/0.6991, allocations: 2.12 MB / 0.8043 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6991, allocations: 8 kB / 0.8043 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001702/0.7008, allocations: 0.6988 MB / 0.805 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/0.7034, allocations: 0.526 MB / 0.8055 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004571/0.708, allocations: 2.474 MB / 0.8079 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008063/0.7088, allocations: 1.094 MB / 0.809 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001691/0.7105, allocations: 395.5 kB / 0.8093 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/0.7108, allocations: 87.41 kB / 0.8094 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of SimCode: time 9.52e-07/0.7108, allocations: 0 / 0.8094 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of Templates: time 0.03301/0.7438, allocations: 19.64 MB / 0.8286 GB, free: 2.629 MB / 0.6387 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)