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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4799/0.4799, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 349.1 MB, free: 2.73 MB / 282.7 MB 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: 103 kB / 420 MB, free: 8.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009927/0.0009929, allocations: 51.86 kB / 0.4891 GB, free: 7.68 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2863, allocations: 70.05 MB / 0.5575 GB, free: 44.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.4904/0.7767, allocations: 212 MB / 0.7645 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01009/0.7869, allocations: 7.139 MB / 0.7715 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002045/0.789, allocations: 42.81 kB / 0.7715 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001855/0.7908, allocations: 0.65 MB / 0.7722 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.006777/0.7977, allocations: 2.361 MB / 0.7745 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003167/0.8008, allocations: 1.05 MB / 0.7755 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004699/0.8056, allocations: 3.776 MB / 0.7792 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.8069, allocations: 0.9323 MB / 0.7801 GB, free: 368 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004084/0.811, allocations: 1.801 MB / 0.7819 GB, free: 112 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002248/0.8133, allocations: 0.9438 MB / 0.7828 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.8135, allocations: 59.5 kB / 0.7828 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004849/0.8184, allocations: 2.812 MB / 0.7856 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0004731/0.8189, allocations: 376.7 kB / 0.7859 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0008934/0.8198, allocations: 0.6243 MB / 0.7866 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.003701/0.8235, allocations: 2.565 MB / 0.7891 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.8235, allocations: 4.938 kB / 0.7891 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.012e-06/0.8235, allocations: 0 / 0.7891 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.8235, allocations: 0 / 0.7891 GB, free: 13.06 MB / 0.5261 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.004452/0.828, allocations: 1.844 MB / 0.7909 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.828, allocations: 8.938 kB / 0.7909 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003019/0.8311, allocations: 0.539 MB / 0.7914 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/0.8329, allocations: 0.9544 MB / 0.7923 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006127/0.8335, allocations: 176.5 kB / 0.7925 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.8337, allocations: 86.03 kB / 0.7926 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/0.8363, allocations: 1.239 MB / 0.7938 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.8363, allocations: 0 / 0.7938 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-05/0.8364, allocations: 31.66 kB / 0.7938 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.306e-05/0.8365, allocations: 46.73 kB / 0.7939 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003731/0.8402, allocations: 1.543 MB / 0.7954 GB, free: 8.828 MB / 0.5261 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.006485/0.8467, allocations: 4.063 MB / 0.7993 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002493/0.8492, allocations: 0.9986 MB / 0.8003 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.8507, allocations: 0.6655 MB / 0.801 GB, free: 2.898 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/0.8518, allocations: 0.6116 MB / 0.8016 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.8518, allocations: 43.22 kB / 0.8016 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=76): time 2.965e-06/0.8518, allocations: 0 / 0.8016 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76): time 0.004979/0.8568, allocations: 1.815 MB / 0.8034 GB, free: 316 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.8569, allocations: 64 kB / 0.8034 GB, free: 240 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.8581, allocations: 0.8193 MB / 0.8042 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.8582, allocations: 45.69 kB / 0.8043 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/0.8586, allocations: 436.5 kB / 0.8047 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/0.8588, allocations: 269.3 kB / 0.805 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002901/0.8591, allocations: 154.5 kB / 0.8051 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.8592, allocations: 334 kB / 0.8054 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.8606, allocations: 0.5395 MB / 0.8059 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/0.8622, allocations: 0.6661 MB / 0.8066 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002978/0.8652, allocations: 1.146 MB / 0.8077 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8652, allocations: 0 / 0.8077 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003585/0.8688, allocations: 1.364 MB / 0.809 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/0.8689, allocations: 33.7 kB / 0.8091 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.8689, allocations: 0 / 0.8091 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.8689, allocations: 11.92 kB / 0.8091 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/0.8705, allocations: 266 kB / 0.8093 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006552/0.8711, allocations: 1.186 MB / 0.8105 GB, free: 8.852 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.8725, allocations: 183.3 kB / 0.8107 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.096e-05/0.8726, allocations: 39.97 kB / 0.8107 GB, free: 8.633 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001744/0.8744, allocations: 0.7686 MB / 0.8115 GB, free: 7.859 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001544/0.8759, allocations: 0.6545 MB / 0.8121 GB, free: 7.176 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002794/0.8787, allocations: 1.142 MB / 0.8132 GB, free: 6.016 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/0.8787, allocations: 4 kB / 0.8132 GB, free: 6.012 MB / 0.5417 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003321/0.8821, allocations: 1.36 MB / 0.8146 GB, free: 4.645 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.8821, allocations: 37.69 kB / 0.8146 GB, free: 4.602 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.8821, allocations: 0 / 0.8146 GB, free: 4.602 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.612e-06/0.8821, allocations: 4 kB / 0.8146 GB, free: 4.598 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.8833, allocations: 234.1 kB / 0.8148 GB, free: 4.379 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.8833, allocations: 8 kB / 0.8148 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.8846, allocations: 163.4 kB / 0.815 GB, free: 4.211 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.011e-05/0.8847, allocations: 27.98 kB / 0.815 GB, free: 4.184 MB / 0.5417 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.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 (86): * Single equations (assignments): 83 * 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.00026/0.885, allocations: 234.4 kB / 0.8152 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.8852, allocations: 106.7 kB / 0.8153 GB, free: 3.852 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003472/0.8887, allocations: 1.362 MB / 0.8167 GB, free: 2.484 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.8887, allocations: 8 kB / 0.8167 GB, free: 2.477 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.8887, allocations: 0 / 0.8167 GB, free: 2.477 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.8887, allocations: 15.86 kB / 0.8167 GB, free: 2.461 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005767/0.8945, allocations: 2.854 MB / 0.8195 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.8945, allocations: 6.531 kB / 0.8195 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.8958, allocations: 228 kB / 0.8197 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/0.8959, allocations: 8 kB / 0.8197 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.058e-05/0.8959, allocations: 27.98 kB / 0.8197 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005785/0.8965, allocations: 1.189 MB / 0.8209 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.8965, allocations: 10.81 kB / 0.8209 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005658/0.9022, allocations: 2.905 MB / 0.8237 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006641/0.9029, allocations: 319.5 kB / 0.824 GB, free: 10.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.9031, allocations: 16 kB / 0.8241 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.9043, allocations: 143.8 kB / 0.8242 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.9045, allocations: 65.48 kB / 0.8243 GB, free: 10.51 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.623e-05/0.9046, allocations: 35.97 kB / 0.8243 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007035/0.9053, allocations: 0.5661 MB / 0.8248 GB, free: 9.895 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9053, allocations: 0 / 0.8248 GB, free: 9.895 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001538/0.9068, allocations: 0.5418 MB / 0.8254 GB, free: 9.352 MB / 0.5573 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.0005461/0.9074, allocations: 273.9 kB / 0.8256 GB, free: 9.109 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005413/0.9128, allocations: 2.047 MB / 0.8276 GB, free: 7.062 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.9128, allocations: 0 / 0.8276 GB, free: 7.062 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001815/0.9147, allocations: 0.6747 MB / 0.8283 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00303/0.9177, allocations: 0.5078 MB / 0.8288 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005298/0.923, allocations: 2.916 MB / 0.8316 GB, free: 2.918 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007235/0.9238, allocations: 1.118 MB / 0.8327 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00181/0.9256, allocations: 391.5 kB / 0.8331 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003432/0.926, allocations: 87.39 kB / 0.8332 GB, free: 1.297 MB / 0.5573 GB Notification: Performance of SimCode: time 9.31e-07/0.926, allocations: 7.938 kB / 0.8332 GB, free: 1.289 MB / 0.5573 GB Notification: Performance of Templates: time 0.03606/0.962, allocations: 20.63 MB / 0.8533 GB, free: 12.95 MB / 0.5886 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)