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.001529/0.001529, allocations: 110.4 kB / 17.04 MB, free: 5.809 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.001681/0.001681, allocations: 196 kB / 17.98 MB, free: 5.023 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.323/1.323, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7169/0.7169, allocations: 115.1 MB / 406.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.88 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3028, allocations: 76.14 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.4745/0.7772, allocations: 214.2 MB / 0.7667 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009713/0.787, allocations: 7.042 MB / 0.7736 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.7886, allocations: 42.16 kB / 0.7736 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002173/0.7908, allocations: 0.7894 MB / 0.7744 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00626/0.7971, allocations: 2.517 MB / 0.7769 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002932/0.8, allocations: 1.167 MB / 0.778 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003779/0.8038, allocations: 2.829 MB / 0.7808 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/0.8053, allocations: 1.087 MB / 0.7818 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004067/0.8094, allocations: 1.991 MB / 0.7838 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001982/0.8114, allocations: 0.9373 MB / 0.7847 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002506/0.8117, allocations: 118 kB / 0.7848 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004695/0.8164, allocations: 2.457 MB / 0.7872 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004839/0.8169, allocations: 426 kB / 0.7876 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000847/0.8177, allocations: 0.6868 MB / 0.7883 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003385/0.8211, allocations: 2.505 MB / 0.7907 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.8211, allocations: 0 / 0.7907 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8211, allocations: 2.531 kB / 0.7907 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.8212, allocations: 5.031 kB / 0.7907 GB, free: 1.164 MB / 0.5762 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.004065/0.8252, allocations: 1.84 MB / 0.7925 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.8253, allocations: 7.969 kB / 0.7925 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002987/0.8283, allocations: 0.5455 MB / 0.7931 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.83, allocations: 1.002 MB / 0.794 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.168e-05/0.8301, allocations: 67.12 kB / 0.7941 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.8302, allocations: 84.28 kB / 0.7942 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002378/0.8326, allocations: 1.225 MB / 0.7954 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.8327, allocations: 0 / 0.7954 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.533e-05/0.8328, allocations: 33.12 kB / 0.7954 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.494e-05/0.8328, allocations: 42.97 kB / 0.7954 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003238/0.8361, allocations: 1.528 MB / 0.7969 GB, free: 15.76 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.005663/0.8417, allocations: 4.04 MB / 0.8009 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/0.8439, allocations: 0.9662 MB / 0.8018 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.8452, allocations: 0.6589 MB / 0.8025 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/0.8463, allocations: 0.6095 MB / 0.8031 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.8463, allocations: 44.69 kB / 0.8031 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.214e-06/0.8463, allocations: 0.9688 kB / 0.8031 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.004486/0.8508, allocations: 1.791 MB / 0.8049 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.8509, allocations: 61.62 kB / 0.8049 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000881/0.8517, allocations: 0.8299 MB / 0.8057 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.584e-05/0.8518, allocations: 43.48 kB / 0.8058 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000278/0.8521, allocations: 438.8 kB / 0.8062 GB, free: 13 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.8523, allocations: 268.3 kB / 0.8064 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002765/0.8526, allocations: 150.9 kB / 0.8066 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.8527, allocations: 333 kB / 0.8069 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.854, allocations: 0.5269 MB / 0.8074 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.8554, allocations: 0.6386 MB / 0.808 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002459/0.8578, allocations: 1.122 MB / 0.8091 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.8579, allocations: 0 / 0.8091 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002945/0.8608, allocations: 1.32 MB / 0.8104 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/0.8609, allocations: 44.03 kB / 0.8105 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.8609, allocations: 0 / 0.8105 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.8609, allocations: 8.781 kB / 0.8105 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.8623, allocations: 247.3 kB / 0.8107 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006463/0.863, allocations: 1.195 MB / 0.8119 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.864, allocations: 139.3 kB / 0.812 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.985e-05/0.8641, allocations: 42.66 kB / 0.8121 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00158/0.8657, allocations: 0.7493 MB / 0.8128 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001392/0.8671, allocations: 0.6412 MB / 0.8134 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002513/0.8696, allocations: 1.108 MB / 0.8145 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.314e-06/0.8697, allocations: 0 / 0.8145 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.00299/0.8726, allocations: 1.314 MB / 0.8158 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.8727, allocations: 38.41 kB / 0.8158 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.8727, allocations: 3.938 kB / 0.8158 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.73e-06/0.8727, allocations: 9.25 kB / 0.8158 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.8739, allocations: 218.4 kB / 0.816 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.8739, allocations: 17.28 kB / 0.8161 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009794/0.8749, allocations: 123.3 kB / 0.8162 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.234e-05/0.875, allocations: 39.67 kB / 0.8162 GB, free: 9.871 MB / 0.5919 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.0002654/0.8753, allocations: 218.5 kB / 0.8164 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.8754, allocations: 108.2 kB / 0.8165 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003109/0.8786, allocations: 1.346 MB / 0.8178 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/0.8786, allocations: 11.81 kB / 0.8178 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.8786, allocations: 0 / 0.8178 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.8786, allocations: 7.984 kB / 0.8179 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00512/0.8837, allocations: 2.829 MB / 0.8206 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.8838, allocations: 5.375 kB / 0.8206 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.885, allocations: 228.3 kB / 0.8208 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.425e-06/0.885, allocations: 4.906 kB / 0.8208 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.835e-05/0.885, allocations: 23.45 kB / 0.8209 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005559/0.8856, allocations: 1.193 MB / 0.822 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.8856, allocations: 9.781 kB / 0.822 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003028/0.8887, allocations: 1.451 MB / 0.8235 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006313/0.8893, allocations: 307.7 kB / 0.8238 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.8895, allocations: 21.06 kB / 0.8238 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.8905, allocations: 105.8 kB / 0.8239 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.8907, allocations: 66.17 kB / 0.8239 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.919e-05/0.8908, allocations: 29.39 kB / 0.824 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007121/0.8915, allocations: 0.5748 MB / 0.8245 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.8915, allocations: 0 / 0.8245 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001273/0.8928, allocations: 0.5368 MB / 0.8251 GB, free: 5.898 MB / 0.5919 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.0005524/0.8934, allocations: 282.5 kB / 0.8253 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004681/0.898, allocations: 2.006 MB / 0.8273 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.8981, allocations: 2.438 kB / 0.8273 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001595/0.8997, allocations: 0.6563 MB / 0.8279 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/0.9017, allocations: 0.4986 MB / 0.8284 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003813/0.9056, allocations: 2.061 MB / 0.8304 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000635/0.9062, allocations: 1.098 MB / 0.8315 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001256/0.9075, allocations: 391.5 kB / 0.8319 GB, free: 204 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003294/0.9078, allocations: 87.41 kB / 0.832 GB, free: 120 kB / 0.5919 GB Notification: Performance of SimCode: time 3.9e-07/0.9078, allocations: 3.938 kB / 0.832 GB, free: 116 kB / 0.5919 GB Notification: Performance of Templates: time 0.03202/0.9399, allocations: 20.93 MB / 0.8524 GB, free: 11.55 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)