Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0009747/0.0009747, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001238/0.001238, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7416/0.7416, allocations: 132.3 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003119, allocations: 12.5 kB / 0.5034 GB, free: 4.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3482, allocations: 81.58 MB / 0.5831 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.2006/0.5489, allocations: 195.1 MB / 0.7736 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009092/0.558, allocations: 6.636 MB / 0.7801 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.559, allocations: 35.75 kB / 0.7802 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.5604, allocations: 0.4967 MB / 0.7806 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004402/0.5649, allocations: 1.783 MB / 0.7824 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002271/0.5671, allocations: 0.9056 MB / 0.7833 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003471/0.5706, allocations: 3.19 MB / 0.7864 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/0.572, allocations: 0.7999 MB / 0.7872 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003104/0.5751, allocations: 1.525 MB / 0.7887 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.5764, allocations: 0.8638 MB / 0.7895 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.5766, allocations: 44 kB / 0.7895 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003021/0.5796, allocations: 1.54 MB / 0.791 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.5801, allocations: 350.8 kB / 0.7914 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003423/0.5804, allocations: 273 kB / 0.7916 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.5823, allocations: 1.695 MB / 0.7933 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5823, allocations: 3.938 kB / 0.7933 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.534e-06/0.5823, allocations: 7.938 kB / 0.7933 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.355e-05/0.5823, allocations: 4 kB / 0.7933 GB, free: 8.734 MB / 0.6231 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.00376/0.5861, allocations: 1.602 MB / 0.7949 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.5862, allocations: 12.03 kB / 0.7949 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002843/0.589, allocations: 0.5877 MB / 0.7955 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.5905, allocations: 0.9336 MB / 0.7964 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005611/0.5911, allocations: 197.9 kB / 0.7966 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.5912, allocations: 80 kB / 0.7966 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/0.5938, allocations: 1.264 MB / 0.7979 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.5938, allocations: 0 / 0.7979 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.5939, allocations: 43.94 kB / 0.7979 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.974e-05/0.594, allocations: 45.98 kB / 0.798 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003515/0.5975, allocations: 1.604 MB / 0.7995 GB, free: 2.258 MB / 0.6231 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.005631/0.6031, allocations: 4.091 MB / 0.8035 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/0.6055, allocations: 1.048 MB / 0.8045 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/0.6069, allocations: 0.6954 MB / 0.8052 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/0.608, allocations: 0.6399 MB / 0.8058 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.608, allocations: 39.22 kB / 0.8059 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 1.793e-06/0.608, allocations: 0 / 0.8059 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.004526/0.6126, allocations: 1.91 MB / 0.8078 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.6126, allocations: 64.06 kB / 0.8078 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009375/0.6135, allocations: 0.8191 MB / 0.8086 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.563e-05/0.6136, allocations: 49.64 kB / 0.8087 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/0.614, allocations: 436.6 kB / 0.8091 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.6142, allocations: 252.2 kB / 0.8093 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.2e-05/0.6142, allocations: 16 kB / 0.8093 GB, free: 7.758 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.6144, allocations: 341.9 kB / 0.8097 GB, free: 7.418 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.6157, allocations: 0.5602 MB / 0.8102 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.6171, allocations: 0.695 MB / 0.8109 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.6185, allocations: 0.6138 MB / 0.8115 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6185, allocations: 0 / 0.8115 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003101/0.6216, allocations: 1.431 MB / 0.8129 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.302e-05/0.6217, allocations: 156.8 kB / 0.813 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.6218, allocations: 0 / 0.813 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.6218, allocations: 8 kB / 0.813 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.6232, allocations: 279.6 kB / 0.8133 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006508/0.6239, allocations: 1.191 MB / 0.8145 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.6249, allocations: 199.4 kB / 0.8147 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-05/0.625, allocations: 35.97 kB / 0.8147 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.201e-06/0.625, allocations: 4 kB / 0.8147 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00298/0.628, allocations: 1.321 MB / 0.816 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.628, allocations: 0 / 0.816 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/0.6281, allocations: 8.016 kB / 0.816 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.6293, allocations: 255.7 kB / 0.8162 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.6293, allocations: 7.984 kB / 0.8162 GB, free: 0.543 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009576/0.6302, allocations: 195.1 kB / 0.8164 GB, free: 360 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.671e-05/0.6303, allocations: 35.98 kB / 0.8165 GB, free: 324 kB / 0.6387 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.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 (86): * Single equations (assignments): 83 * 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.2414/0.8717, allocations: 368.1 kB / 0.8168 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003802/0.8721, allocations: 102.1 kB / 0.8169 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003982/0.8761, allocations: 1.43 MB / 0.8183 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.8761, allocations: 6.656 kB / 0.8183 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.8761, allocations: 4.344 kB / 0.8183 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.8762, allocations: 7.906 kB / 0.8183 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005753/0.8819, allocations: 2.914 MB / 0.8212 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.8819, allocations: 5.219 kB / 0.8212 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/0.8832, allocations: 250 kB / 0.8214 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.617e-05/0.8832, allocations: 7.516 kB / 0.8214 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.265e-05/0.8833, allocations: 29.55 kB / 0.8215 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003627/0.8837, allocations: 1.192 MB / 0.8226 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.8837, allocations: 5.703 kB / 0.8226 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003108/0.8868, allocations: 1.539 MB / 0.8241 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004524/0.8873, allocations: 310.4 kB / 0.8244 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.8874, allocations: 22.09 kB / 0.8244 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.8886, allocations: 160.6 kB / 0.8246 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.8887, allocations: 66.12 kB / 0.8247 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-05/0.8888, allocations: 38.31 kB / 0.8247 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007337/0.8896, allocations: 0.556 MB / 0.8252 GB, free: 215.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8896, allocations: 0 / 0.8252 GB, free: 215.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001334/0.8909, allocations: 0.5375 MB / 0.8258 GB, free: 215.6 MB / 0.6387 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.0004889/0.8914, allocations: 277.9 kB / 0.826 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004776/0.8962, allocations: 2.14 MB / 0.8281 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.8962, allocations: 1.219 kB / 0.8281 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001597/0.8978, allocations: 0.7082 MB / 0.8288 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.9001, allocations: 0.5091 MB / 0.8293 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/0.9037, allocations: 2.473 MB / 0.8317 GB, free: 213.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.9042, allocations: 1.093 MB / 0.8328 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001794/0.906, allocations: 389.9 kB / 0.8332 GB, free: 212.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003228/0.9064, allocations: 93 kB / 0.8333 GB, free: 212.3 MB / 0.6387 GB Notification: Performance of SimCode: time 2.5e-07/0.9064, allocations: 3.938 kB / 0.8333 GB, free: 212.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.02441/0.9308, allocations: 19.42 MB / 0.8522 GB, free: 200.7 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)