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.001126/0.001131, allocations: 100.6 kB / 16.27 MB, free: 5.961 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.001209/0.001209, allocations: 190.7 kB / 17.2 MB, free: 5.59 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.337/1.337, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7492/0.7492, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 60.12 kB / 0.4911 GB, free: 7.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.3997, allocations: 77.93 MB / 0.5672 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5582/0.958, allocations: 214.2 MB / 0.7764 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009228/0.9672, allocations: 7.038 MB / 0.7832 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.9688, allocations: 46.06 kB / 0.7833 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.9706, allocations: 0.7858 MB / 0.784 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005177/0.9758, allocations: 2.524 MB / 0.7865 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002568/0.9783, allocations: 1.146 MB / 0.7876 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002855/0.9812, allocations: 2.824 MB / 0.7904 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.9824, allocations: 1.082 MB / 0.7914 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003448/0.9859, allocations: 1.984 MB / 0.7934 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.9875, allocations: 0.9471 MB / 0.7943 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001973/0.9877, allocations: 116.9 kB / 0.7944 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005572/0.9933, allocations: 2.447 MB / 0.7968 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005788/0.9939, allocations: 424.8 kB / 0.7972 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.995, allocations: 0.6909 MB / 0.7979 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006931/1.002, allocations: 2.462 MB / 0.8003 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.002, allocations: 0 / 0.8003 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.004e-06/1.002, allocations: 0.875 kB / 0.8003 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.024e-05/1.002, allocations: 0 / 0.8003 GB, free: 0.8477 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.005121/1.007, allocations: 1.854 MB / 0.8021 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/1.007, allocations: 8.25 kB / 0.8021 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0031/1.01, allocations: 0.5366 MB / 0.8026 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/1.012, allocations: 0.9627 MB / 0.8036 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006431/1.013, allocations: 179.8 kB / 0.8037 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/1.013, allocations: 85.53 kB / 0.8038 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002648/1.015, allocations: 1.233 MB / 0.805 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/1.016, allocations: 0.9375 kB / 0.805 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/1.016, allocations: 37.94 kB / 0.8051 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.612e-05/1.016, allocations: 48.41 kB / 0.8051 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003453/1.019, allocations: 1.547 MB / 0.8066 GB, free: 15.43 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.006048/1.025, allocations: 4.078 MB / 0.8106 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002469/1.028, allocations: 0.9974 MB / 0.8116 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001425/1.029, allocations: 0.6613 MB / 0.8122 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/1.03, allocations: 0.6099 MB / 0.8128 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/1.03, allocations: 44.81 kB / 0.8129 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 4.308e-06/1.03, allocations: 3.984 kB / 0.8129 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.004759/1.035, allocations: 1.809 MB / 0.8146 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/1.035, allocations: 60.81 kB / 0.8147 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009371/1.036, allocations: 0.8233 MB / 0.8155 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.642e-05/1.036, allocations: 41.02 kB / 0.8155 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/1.036, allocations: 443.7 kB / 0.816 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/1.037, allocations: 259.8 kB / 0.8162 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002897/1.037, allocations: 153.1 kB / 0.8164 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.037, allocations: 336.7 kB / 0.8167 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/1.038, allocations: 0.5378 MB / 0.8172 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/1.04, allocations: 0.6531 MB / 0.8178 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00277/1.043, allocations: 1.141 MB / 0.819 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.043, allocations: 0 / 0.819 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003358/1.046, allocations: 1.348 MB / 0.8203 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/1.046, allocations: 39.89 kB / 0.8203 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/1.046, allocations: 1.281 kB / 0.8203 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/1.046, allocations: 6.875 kB / 0.8203 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/1.048, allocations: 262 kB / 0.8206 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007225/1.049, allocations: 1.192 MB / 0.8217 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/1.05, allocations: 146.5 kB / 0.8219 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.349e-05/1.05, allocations: 35.78 kB / 0.8219 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001705/1.051, allocations: 0.7545 MB / 0.8226 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001534/1.053, allocations: 0.6517 MB / 0.8233 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002686/1.056, allocations: 1.13 MB / 0.8244 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.374e-06/1.056, allocations: 0 / 0.8244 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003344/1.059, allocations: 1.339 MB / 0.8257 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/1.059, allocations: 37.33 kB / 0.8257 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/1.059, allocations: 4.062 kB / 0.8257 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.843e-06/1.059, allocations: 6 kB / 0.8257 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/1.06, allocations: 224.6 kB / 0.8259 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/1.06, allocations: 2.938 kB / 0.826 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/1.061, allocations: 136.9 kB / 0.8261 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.731e-05/1.062, allocations: 33.33 kB / 0.8261 GB, free: 8.371 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.0003308/1.062, allocations: 223.4 kB / 0.8263 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/1.062, allocations: 107.2 kB / 0.8264 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003506/1.066, allocations: 1.366 MB / 0.8278 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/1.066, allocations: 13.77 kB / 0.8278 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.066, allocations: 0 / 0.8278 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/1.066, allocations: 3.984 kB / 0.8278 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00573/1.071, allocations: 2.857 MB / 0.8306 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.071, allocations: 4 kB / 0.8306 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/1.073, allocations: 237.3 kB / 0.8308 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/1.073, allocations: 12 kB / 0.8308 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.449e-05/1.073, allocations: 19.98 kB / 0.8308 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006001/1.073, allocations: 1.191 MB / 0.832 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.073, allocations: 7.188 kB / 0.832 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003395/1.077, allocations: 1.461 MB / 0.8334 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00049/1.077, allocations: 319.5 kB / 0.8337 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/1.077, allocations: 15.98 kB / 0.8337 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/1.079, allocations: 111.9 kB / 0.8339 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/1.079, allocations: 63.52 kB / 0.8339 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-05/1.079, allocations: 35.97 kB / 0.8339 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007298/1.08, allocations: 0.5739 MB / 0.8345 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/1.08, allocations: 0 / 0.8345 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001396/1.081, allocations: 0.5379 MB / 0.835 GB, free: 0.7656 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.0005713/1.082, allocations: 278 kB / 0.8353 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005702/1.087, allocations: 2.125 MB / 0.8374 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.087, allocations: 0 / 0.8374 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001824/1.089, allocations: 0.6737 MB / 0.838 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/1.092, allocations: 0.4916 MB / 0.8385 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004351/1.096, allocations: 2.105 MB / 0.8406 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006954/1.097, allocations: 1.094 MB / 0.8416 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001719/1.098, allocations: 395.5 kB / 0.842 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003228/1.099, allocations: 87.41 kB / 0.8421 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of SimCode: time 1.703e-06/1.099, allocations: 0 / 0.8421 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of Templates: time 0.03467/1.133, allocations: 20.95 MB / 0.8626 GB, free: 4.922 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)