Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.687/0.687, allocations: 128.7 MB / 144.5 MB, free: 1.355 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 185.9 kB / 174.2 MB, free: 5.918 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.1 MB / 408.9 MB, free: 9.676 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000914/0.000914, allocations: 105.5 kB / 485.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 58.55 kB / 0.558 GB, free: 97.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1183, allocations: 75.47 MB / 0.6317 GB, free: 33 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.4443/0.5626, allocations: 231 MB / 0.8572 GB, free: 1.992 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01003/0.5727, allocations: 7.167 MB / 0.8642 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/0.5743, allocations: 39.69 kB / 0.8643 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.5761, allocations: 0.6645 MB / 0.8649 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.005529/0.5816, allocations: 2.28 MB / 0.8671 GB, free: 9.176 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003087/0.5847, allocations: 1.118 MB / 0.8682 GB, free: 8.07 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.004302/0.589, allocations: 3.865 MB / 0.872 GB, free: 4.199 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.5904, allocations: 0.9317 MB / 0.8729 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00362/0.594, allocations: 1.669 MB / 0.8745 GB, free: 1.57 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002515/0.5965, allocations: 1 MB / 0.8755 GB, free: 0.5703 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003027/0.5968, allocations: 64 kB / 0.8756 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004871/0.6017, allocations: 2.81 MB / 0.8783 GB, free: 13.69 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005211/0.6022, allocations: 374.7 kB / 0.8787 GB, free: 13.32 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0009692/0.6032, allocations: 0.6179 MB / 0.8793 GB, free: 12.7 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003947/0.6072, allocations: 2.65 MB / 0.8819 GB, free: 10.05 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6072, allocations: 0 / 0.8819 GB, free: 10.05 MB / 0.573 GB Notification: Performance of FrontEnd: time 8.82e-07/0.6072, allocations: 0 / 0.8819 GB, free: 10.05 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.684e-05/0.6073, allocations: 0 / 0.8819 GB, free: 10.05 MB / 0.573 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.004632/0.6119, allocations: 1.839 MB / 0.8837 GB, free: 8.148 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.6119, allocations: 12.03 kB / 0.8837 GB, free: 8.137 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00297/0.6149, allocations: 0.5331 MB / 0.8842 GB, free: 7.602 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/0.6167, allocations: 0.9603 MB / 0.8851 GB, free: 6.598 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006455/0.6174, allocations: 177.9 kB / 0.8853 GB, free: 6.426 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.6176, allocations: 84 kB / 0.8854 GB, free: 6.344 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003078/0.6207, allocations: 1.288 MB / 0.8866 GB, free: 5.047 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.6207, allocations: 0 / 0.8866 GB, free: 5.047 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.76e-05/0.6208, allocations: 35.98 kB / 0.8867 GB, free: 5.012 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.201e-05/0.6209, allocations: 49.92 kB / 0.8867 GB, free: 4.961 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004133/0.625, allocations: 1.62 MB / 0.8883 GB, free: 3.344 MB / 0.573 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.00615/0.6312, allocations: 4.022 MB / 0.8922 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003099/0.6343, allocations: 1.084 MB / 0.8933 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.6358, allocations: 0.6664 MB / 0.8939 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/0.6368, allocations: 0.6125 MB / 0.8945 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.6369, allocations: 39.22 kB / 0.8946 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=75): time 3.066e-06/0.6369, allocations: 0 / 0.8946 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of matching and sorting (n=75): time 0.005708/0.6426, allocations: 1.914 MB / 0.8965 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.6427, allocations: 64 kB / 0.8965 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.6437, allocations: 0.8027 MB / 0.8973 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.65e-05/0.6438, allocations: 45.7 kB / 0.8973 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.6442, allocations: 444.4 kB / 0.8978 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/0.6444, allocations: 260.2 kB / 0.898 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003017/0.6447, allocations: 154.5 kB / 0.8982 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.6448, allocations: 330 kB / 0.8985 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/0.6463, allocations: 0.5512 MB / 0.899 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.6479, allocations: 0.6707 MB / 0.8997 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002939/0.6509, allocations: 1.173 MB / 0.9008 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6509, allocations: 0 / 0.9008 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00344/0.6544, allocations: 1.395 MB / 0.9022 GB, free: 4.586 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.6544, allocations: 33.7 kB / 0.9022 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.6544, allocations: 4 kB / 0.9022 GB, free: 4.543 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.6544, allocations: 4 kB / 0.9022 GB, free: 4.539 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002536/0.657, allocations: 387.4 kB / 0.9026 GB, free: 4.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004876/0.6619, allocations: 3.099 MB / 0.9056 GB, free: 0.7969 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.6633, allocations: 187.2 kB / 0.9058 GB, free: 0.6133 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.6634, allocations: 35.97 kB / 0.9058 GB, free: 0.5781 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00187/0.6653, allocations: 0.7634 MB / 0.9066 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001496/0.6668, allocations: 0.6511 MB / 0.9072 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00275/0.6696, allocations: 1.13 MB / 0.9083 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.458e-06/0.6696, allocations: 3.938 kB / 0.9083 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86) (initialization_lambda0): time 0.003263/0.6729, allocations: 1.345 MB / 0.9096 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.6729, allocations: 41.69 kB / 0.9097 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6729, allocations: 4 kB / 0.9097 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.673, allocations: 4 kB / 0.9097 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.6741, allocations: 227.9 kB / 0.9099 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.6742, allocations: 4.781 kB / 0.9099 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.6753, allocations: 167.3 kB / 0.9101 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.508e-05/0.6754, allocations: 35.98 kB / 0.9101 GB, free: 12.14 MB / 0.6042 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 (85): * Single equations (assignments): 82 * 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.0002639/0.6757, allocations: 228 kB / 0.9103 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/0.6759, allocations: 98.78 kB / 0.9104 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003578/0.6795, allocations: 1.402 MB / 0.9118 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.6795, allocations: 8 kB / 0.9118 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.6795, allocations: 48 / 0.9118 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.6796, allocations: 7.969 kB / 0.9118 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005586/0.6852, allocations: 2.857 MB / 0.9146 GB, free: 7.422 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/0.6852, allocations: 8.062 kB / 0.9146 GB, free: 7.414 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002541/0.6877, allocations: 391.5 kB / 0.915 GB, free: 7.031 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/0.6877, allocations: 4 kB / 0.915 GB, free: 7.027 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.72e-05/0.6878, allocations: 27.97 kB / 0.915 GB, free: 7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004099/0.6919, allocations: 3.037 MB / 0.918 GB, free: 3.703 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.692, allocations: 7.938 kB / 0.918 GB, free: 3.695 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005761/0.6977, allocations: 2.953 MB / 0.9208 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006799/0.6984, allocations: 299.6 kB / 0.9211 GB, free: 332 kB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/0.6986, allocations: 16 kB / 0.9211 GB, free: 316 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/0.7, allocations: 147.7 kB / 0.9213 GB, free: 168 kB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.7002, allocations: 68.34 kB / 0.9214 GB, free: 100 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.517e-05/0.7002, allocations: 31.98 kB / 0.9214 GB, free: 68 kB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000852/0.7011, allocations: 0.5578 MB / 0.9219 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7011, allocations: 4 kB / 0.9219 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001879/0.703, allocations: 0.538 MB / 0.9225 GB, free: 14.95 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (75): * Single equations (assignments): 73 * 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.000639/0.7037, allocations: 273.8 kB / 0.9227 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.006976/0.7106, allocations: 2.197 MB / 0.9249 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/0.7107, allocations: 4 kB / 0.9249 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003462/0.7142, allocations: 0.8508 MB / 0.9257 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002941/0.7171, allocations: 0.5102 MB / 0.9262 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004854/0.722, allocations: 2.873 MB / 0.929 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000692/0.7227, allocations: 1.114 MB / 0.9301 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001633/0.7244, allocations: 379.7 kB / 0.9305 GB, free: 6.641 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003524/0.7247, allocations: 87.39 kB / 0.9305 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.7247, allocations: 3.938 kB / 0.9305 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of Templates: time 0.03182/0.7566, allocations: 20.72 MB / 0.9508 GB, free: 2.047 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)