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.001217/0.001217, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001417/0.001417, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.375/1.375, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8556/0.8556, allocations: 132.2 MB / 423.2 MB, free: 6.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001422, allocations: 60.14 kB / 0.5024 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3915, allocations: 80.19 MB / 0.5807 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5973/0.9889, allocations: 214.2 MB / 0.7899 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01035/0.9993, allocations: 7.026 MB / 0.7968 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00231/1.002, allocations: 45.88 kB / 0.7968 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002249/1.004, allocations: 0.7884 MB / 0.7976 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007341/1.011, allocations: 2.496 MB / 0.8 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003285/1.015, allocations: 1.173 MB / 0.8012 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004399/1.019, allocations: 2.808 MB / 0.8039 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/1.021, allocations: 1.094 MB / 0.805 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004839/1.026, allocations: 1.981 MB / 0.8069 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002271/1.028, allocations: 0.9271 MB / 0.8078 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002272/1.028, allocations: 119.8 kB / 0.8079 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004804/1.033, allocations: 2.442 MB / 0.8103 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005742/1.034, allocations: 428.4 kB / 0.8107 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00104/1.035, allocations: 0.6881 MB / 0.8114 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004669/1.039, allocations: 2.479 MB / 0.8138 GB, free: 480 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.039, allocations: 1.453 kB / 0.8138 GB, free: 480 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.804e-06/1.039, allocations: 0.8438 kB / 0.8138 GB, free: 480 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.655e-05/1.039, allocations: 0 / 0.8138 GB, free: 480 kB / 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.004616/1.044, allocations: 1.846 MB / 0.8156 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/1.044, allocations: 7.375 kB / 0.8156 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003068/1.047, allocations: 0.5361 MB / 0.8162 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/1.049, allocations: 0.9572 MB / 0.8171 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006246/1.05, allocations: 177.2 kB / 0.8173 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/1.05, allocations: 88 kB / 0.8173 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002813/1.053, allocations: 1.233 MB / 0.8185 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/1.053, allocations: 0 / 0.8185 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/1.053, allocations: 37.69 kB / 0.8186 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.496e-05/1.053, allocations: 41.19 kB / 0.8186 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003676/1.056, allocations: 1.549 MB / 0.8201 GB, free: 15.05 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.006806/1.063, allocations: 4.072 MB / 0.8241 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002485/1.066, allocations: 0.999 MB / 0.8251 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/1.067, allocations: 0.6737 MB / 0.8257 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/1.068, allocations: 0.6088 MB / 0.8263 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/1.069, allocations: 39.09 kB / 0.8264 GB, free: 12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.326e-06/1.069, allocations: 3.938 kB / 0.8264 GB, free: 12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.005296/1.074, allocations: 1.811 MB / 0.8281 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/1.074, allocations: 66.5 kB / 0.8282 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/1.075, allocations: 0.8232 MB / 0.829 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001447/1.076, allocations: 42.39 kB / 0.8291 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004466/1.076, allocations: 438.9 kB / 0.8295 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/1.076, allocations: 257.3 kB / 0.8297 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003674/1.077, allocations: 160.3 kB / 0.8299 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.077, allocations: 333.9 kB / 0.8302 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/1.078, allocations: 0.5351 MB / 0.8307 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0017/1.08, allocations: 0.665 MB / 0.8314 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003107/1.083, allocations: 1.151 MB / 0.8325 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/1.083, allocations: 0 / 0.8325 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00374/1.087, allocations: 1.37 MB / 0.8338 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.897e-05/1.087, allocations: 39.19 kB / 0.8339 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.087, allocations: 2.375 kB / 0.8339 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/1.087, allocations: 4.969 kB / 0.8339 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/1.089, allocations: 259.6 kB / 0.8341 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/1.09, allocations: 1.194 MB / 0.8353 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/1.091, allocations: 153 kB / 0.8354 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/1.091, allocations: 30.39 kB / 0.8355 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002204/1.094, allocations: 0.7672 MB / 0.8362 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001627/1.095, allocations: 0.6638 MB / 0.8369 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002994/1.098, allocations: 1.141 MB / 0.838 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.657e-06/1.098, allocations: 0 / 0.838 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003714/1.102, allocations: 1.351 MB / 0.8393 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.01e-05/1.102, allocations: 41.69 kB / 0.8393 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/1.102, allocations: 0 / 0.8393 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/1.102, allocations: 7.938 kB / 0.8393 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/1.103, allocations: 237.2 kB / 0.8396 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/1.104, allocations: 4 kB / 0.8396 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/1.105, allocations: 135.4 kB / 0.8397 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/1.105, allocations: 39.97 kB / 0.8397 GB, free: 2.25 MB / 0.5919 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.0003868/1.105, allocations: 217.7 kB / 0.8399 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003891/1.106, allocations: 106.6 kB / 0.84 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003889/1.11, allocations: 1.363 MB / 0.8414 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/1.11, allocations: 8 kB / 0.8414 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/1.11, allocations: 0 / 0.8414 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/1.11, allocations: 7.078 kB / 0.8414 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006618/1.116, allocations: 2.868 MB / 0.8442 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/1.116, allocations: 4 kB / 0.8442 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/1.118, allocations: 237.2 kB / 0.8444 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.917e-05/1.118, allocations: 8 kB / 0.8444 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-05/1.118, allocations: 31.91 kB / 0.8445 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007813/1.119, allocations: 1.191 MB / 0.8456 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-05/1.119, allocations: 11.03 kB / 0.8456 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003808/1.123, allocations: 1.458 MB / 0.8471 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007442/1.123, allocations: 315.4 kB / 0.8474 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002919/1.124, allocations: 19.98 kB / 0.8474 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/1.125, allocations: 111.9 kB / 0.8475 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/1.125, allocations: 63.52 kB / 0.8475 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/1.125, allocations: 39.97 kB / 0.8476 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009656/1.126, allocations: 0.5661 MB / 0.8481 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5.82e-07/1.126, allocations: 3.094 kB / 0.8481 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001988/1.128, allocations: 0.5341 MB / 0.8487 GB, free: 8.93 MB / 0.6075 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.0007859/1.129, allocations: 270.4 kB / 0.8489 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00616/1.135, allocations: 2.15 MB / 0.851 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/1.135, allocations: 0 / 0.851 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001849/1.137, allocations: 0.6698 MB / 0.8517 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002967/1.14, allocations: 0.4933 MB / 0.8521 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00532/1.145, allocations: 2.164 MB / 0.8543 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000895/1.146, allocations: 1.094 MB / 0.8553 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005633/1.147, allocations: 103.4 kB / 0.8554 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of SimCode: time 1.072e-06/1.147, allocations: 0 / 0.8554 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of Templates: time 0.03918/1.186, allocations: 26.74 MB / 0.8815 GB, free: 7.387 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)