Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001146/0.001146, allocations: 194.5 kB / 16.14 MB, free: 6.734 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.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8112/0.8112, allocations: 132.2 MB / 422.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 55.53 kB / 0.5011 GB, free: 4.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4973/0.4986, allocations: 80.2 MB / 0.5794 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.2516/0.7502, allocations: 212 MB / 0.7865 GB, free: 13 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01111/0.7613, allocations: 7.127 MB / 0.7935 GB, free: 5.844 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.7631, allocations: 39.75 kB / 0.7935 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002072/0.7653, allocations: 0.6567 MB / 0.7941 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006206/0.7715, allocations: 2.35 MB / 0.7964 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003097/0.7746, allocations: 1.052 MB / 0.7975 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005771/0.7804, allocations: 3.757 MB / 0.8011 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002078/0.7825, allocations: 0.9316 MB / 0.802 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005361/0.7879, allocations: 1.79 MB / 0.8038 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004682/0.7926, allocations: 0.9388 MB / 0.8047 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001075/0.7937, allocations: 60 kB / 0.8048 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007827/0.8016, allocations: 2.81 MB / 0.8075 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007785/0.8024, allocations: 370.7 kB / 0.8079 GB, free: 7.059 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.8036, allocations: 0.6257 MB / 0.8085 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005094/0.8087, allocations: 2.563 MB / 0.811 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.8087, allocations: 4 kB / 0.811 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8087, allocations: 0 / 0.811 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.067e-05/0.8087, allocations: 0 / 0.811 GB, free: 3.855 MB / 0.6387 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.004626/0.8134, allocations: 1.844 MB / 0.8128 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.8134, allocations: 8.031 kB / 0.8128 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003257/0.8167, allocations: 0.5446 MB / 0.8133 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.8185, allocations: 0.9525 MB / 0.8142 GB, free: 408 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006193/0.8191, allocations: 177.9 kB / 0.8144 GB, free: 232 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.8193, allocations: 91.92 kB / 0.8145 GB, free: 140 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3312/1.15, allocations: 1.23 MB / 0.8157 GB, free: 221.8 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/1.151, allocations: 0 / 0.8157 GB, free: 221.8 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/1.151, allocations: 31.31 kB / 0.8157 GB, free: 221.8 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.597e-05/1.151, allocations: 50.48 kB / 0.8158 GB, free: 221.8 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004066/1.155, allocations: 1.544 MB / 0.8173 GB, free: 221.3 MB / 0.6387 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.007545/1.162, allocations: 4.056 MB / 0.8212 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002711/1.165, allocations: 1.003 MB / 0.8222 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/1.167, allocations: 0.668 MB / 0.8229 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/1.168, allocations: 0.6059 MB / 0.8235 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/1.168, allocations: 40.55 kB / 0.8235 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.956e-06/1.168, allocations: 0 / 0.8235 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.005385/1.173, allocations: 1.821 MB / 0.8253 GB, free: 217.3 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/1.173, allocations: 62.59 kB / 0.8253 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/1.175, allocations: 0.8187 MB / 0.8261 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001521/1.175, allocations: 44.02 kB / 0.8262 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004123/1.175, allocations: 437.7 kB / 0.8266 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002436/1.176, allocations: 268.8 kB / 0.8269 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003679/1.176, allocations: 153.4 kB / 0.827 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.011e-05/1.176, allocations: 335 kB / 0.8273 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/1.178, allocations: 0.5376 MB / 0.8279 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/1.179, allocations: 0.6696 MB / 0.8285 GB, free: 215.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00283/1.182, allocations: 1.15 MB / 0.8296 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-06/1.182, allocations: 5.281 kB / 0.8296 GB, free: 215 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003473/1.185, allocations: 1.358 MB / 0.831 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/1.185, allocations: 32.36 kB / 0.831 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/1.185, allocations: 2.094 kB / 0.831 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/1.185, allocations: 7.969 kB / 0.831 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/1.187, allocations: 264.6 kB / 0.8313 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000587/1.188, allocations: 1.189 MB / 0.8324 GB, free: 213.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/1.189, allocations: 189.2 kB / 0.8326 GB, free: 213.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/1.189, allocations: 40.31 kB / 0.8326 GB, free: 213.1 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001907/1.191, allocations: 0.7602 MB / 0.8334 GB, free: 212.7 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001493/1.193, allocations: 0.6608 MB / 0.834 GB, free: 212.3 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002785/1.196, allocations: 1.139 MB / 0.8351 GB, free: 211.7 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.27e-06/1.196, allocations: 1.438 kB / 0.8351 GB, free: 211.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003578/1.199, allocations: 1.349 MB / 0.8365 GB, free: 211 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/1.199, allocations: 37.3 kB / 0.8365 GB, free: 211 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.199, allocations: 1.031 kB / 0.8365 GB, free: 211 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/1.199, allocations: 8.328 kB / 0.8365 GB, free: 211 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/1.201, allocations: 232.4 kB / 0.8367 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/1.201, allocations: 4.688 kB / 0.8367 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/1.202, allocations: 168.2 kB / 0.8369 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.605e-05/1.202, allocations: 39.14 kB / 0.8369 GB, free: 210.8 MB / 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.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.000324/1.202, allocations: 216 kB / 0.8371 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/1.203, allocations: 116 kB / 0.8372 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003526/1.206, allocations: 1.364 MB / 0.8386 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/1.206, allocations: 7.844 kB / 0.8386 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.206, allocations: 0 / 0.8386 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/1.206, allocations: 9.141 kB / 0.8386 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005496/1.212, allocations: 2.853 MB / 0.8414 GB, free: 208 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/1.212, allocations: 3.938 kB / 0.8414 GB, free: 208 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/1.213, allocations: 230.3 kB / 0.8416 GB, free: 207.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/1.213, allocations: 5.969 kB / 0.8416 GB, free: 207.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-05/1.213, allocations: 22.89 kB / 0.8416 GB, free: 207.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000381/1.213, allocations: 1.198 MB / 0.8428 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/1.213, allocations: 12.42 kB / 0.8428 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002994/1.216, allocations: 1.467 MB / 0.8442 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005266/1.217, allocations: 314.9 kB / 0.8445 GB, free: 205.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/1.217, allocations: 15.94 kB / 0.8446 GB, free: 205.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/1.218, allocations: 142.7 kB / 0.8447 GB, free: 205.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/1.219, allocations: 60.03 kB / 0.8447 GB, free: 205.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-05/1.219, allocations: 35.69 kB / 0.8448 GB, free: 205.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006445/1.219, allocations: 0.5745 MB / 0.8453 GB, free: 205.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.5e-07/1.219, allocations: 4 kB / 0.8453 GB, free: 205.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001284/1.221, allocations: 0.5279 MB / 0.8459 GB, free: 205 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 (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.0005479/1.221, allocations: 269.9 kB / 0.8461 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004692/1.226, allocations: 2.046 MB / 0.8481 GB, free: 203.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.226, allocations: 0 / 0.8481 GB, free: 203.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001513/1.227, allocations: 0.6757 MB / 0.8488 GB, free: 203.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/1.23, allocations: 0.5094 MB / 0.8493 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/1.233, allocations: 2.494 MB / 0.8517 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/1.234, allocations: 1.098 MB / 0.8528 GB, free: 199.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001565/1.235, allocations: 390.5 kB / 0.8532 GB, free: 198.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003171/1.236, allocations: 91.39 kB / 0.8532 GB, free: 198.7 MB / 0.6387 GB Notification: Performance of SimCode: time 7.51e-07/1.236, allocations: 0 / 0.8532 GB, free: 198.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.02541/1.261, allocations: 20.12 MB / 0.8729 GB, free: 179 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)