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.001136/0.001136, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001188/0.001188, allocations: 195.7 kB / 17.3 MB, free: 5.516 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8029/0.8029, allocations: 132.2 MB / 423.3 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.001831, allocations: 59.89 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.443/0.4449, allocations: 80.18 MB / 0.5815 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5696/1.015, allocations: 214.2 MB / 0.7907 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0107/1.025, allocations: 7.03 MB / 0.7975 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002071/1.027, allocations: 45.97 kB / 0.7976 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001981/1.029, allocations: 0.788 MB / 0.7983 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006446/1.036, allocations: 2.502 MB / 0.8008 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003/1.039, allocations: 1.179 MB / 0.8019 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00386/1.043, allocations: 2.82 MB / 0.8047 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/1.044, allocations: 1.094 MB / 0.8057 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004688/1.049, allocations: 1.984 MB / 0.8077 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0021/1.051, allocations: 0.9361 MB / 0.8086 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002419/1.052, allocations: 117.8 kB / 0.8087 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004322/1.056, allocations: 2.449 MB / 0.8111 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000562/1.056, allocations: 427.9 kB / 0.8115 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009888/1.057, allocations: 0.6849 MB / 0.8122 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004092/1.062, allocations: 2.496 MB / 0.8146 GB, free: 432 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/1.062, allocations: 0.875 kB / 0.8146 GB, free: 432 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.803e-06/1.062, allocations: 5.484 kB / 0.8146 GB, free: 428 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.041e-05/1.062, allocations: 1.031 kB / 0.8146 GB, free: 428 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.005389/1.067, allocations: 1.852 MB / 0.8164 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/1.067, allocations: 11.06 kB / 0.8164 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003137/1.07, allocations: 0.5296 MB / 0.817 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/1.072, allocations: 1.004 MB / 0.8179 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.057e-05/1.072, allocations: 62.72 kB / 0.818 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/1.073, allocations: 86.64 kB / 0.8181 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/1.075, allocations: 1.226 MB / 0.8193 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/1.075, allocations: 0 / 0.8193 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.704e-05/1.075, allocations: 34.38 kB / 0.8193 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.132e-05/1.075, allocations: 49.7 kB / 0.8194 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003355/1.079, allocations: 1.526 MB / 0.8209 GB, free: 15.01 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.007065/1.086, allocations: 4.033 MB / 0.8248 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002506/1.088, allocations: 0.9693 MB / 0.8257 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001669/1.09, allocations: 0.6554 MB / 0.8264 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/1.091, allocations: 0.6076 MB / 0.827 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/1.091, allocations: 43.09 kB / 0.827 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.877e-06/1.091, allocations: 4 kB / 0.827 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.005028/1.097, allocations: 1.781 MB / 0.8288 GB, free: 11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/1.097, allocations: 63.28 kB / 0.8288 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/1.098, allocations: 0.8179 MB / 0.8296 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001562/1.098, allocations: 49.7 kB / 0.8297 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003915/1.099, allocations: 441.1 kB / 0.8301 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/1.099, allocations: 271.4 kB / 0.8303 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003129/1.099, allocations: 150.5 kB / 0.8305 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.099, allocations: 333.6 kB / 0.8308 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/1.101, allocations: 0.5341 MB / 0.8313 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/1.102, allocations: 0.6546 MB / 0.832 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002724/1.105, allocations: 1.131 MB / 0.8331 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.105, allocations: 0 / 0.8331 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003282/1.108, allocations: 1.345 MB / 0.8344 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.739e-05/1.108, allocations: 33.11 kB / 0.8344 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/1.108, allocations: 6.625 kB / 0.8344 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/1.108, allocations: 3.906 kB / 0.8344 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/1.11, allocations: 254.7 kB / 0.8347 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008579/1.111, allocations: 1.189 MB / 0.8358 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/1.112, allocations: 146.8 kB / 0.836 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/1.112, allocations: 36.23 kB / 0.836 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001868/1.114, allocations: 0.7575 MB / 0.8367 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00151/1.116, allocations: 0.6517 MB / 0.8374 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00272/1.118, allocations: 1.122 MB / 0.8385 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.521e-06/1.118, allocations: 0 / 0.8385 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003481/1.122, allocations: 1.338 MB / 0.8398 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.66e-05/1.122, allocations: 41.75 kB / 0.8398 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/1.122, allocations: 0 / 0.8398 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/1.122, allocations: 7.938 kB / 0.8398 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/1.123, allocations: 233.3 kB / 0.8401 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/1.123, allocations: 4 kB / 0.8401 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/1.124, allocations: 131.4 kB / 0.8402 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.922e-05/1.125, allocations: 31.98 kB / 0.8402 GB, free: 2.406 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.0003312/1.125, allocations: 229.6 kB / 0.8404 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003299/1.125, allocations: 106.8 kB / 0.8405 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003483/1.129, allocations: 1.347 MB / 0.8418 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/1.129, allocations: 12 kB / 0.8419 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/1.129, allocations: 0 / 0.8419 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/1.129, allocations: 3.984 kB / 0.8419 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006058/1.135, allocations: 2.834 MB / 0.8446 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/1.135, allocations: 8.453 kB / 0.8446 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/1.136, allocations: 233.2 kB / 0.8449 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-05/1.136, allocations: 4 kB / 0.8449 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.01e-05/1.136, allocations: 27.92 kB / 0.8449 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006345/1.137, allocations: 1.202 MB / 0.8461 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.137, allocations: 11.09 kB / 0.8461 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003365/1.14, allocations: 1.447 MB / 0.8475 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007272/1.141, allocations: 315.4 kB / 0.8478 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/1.141, allocations: 16 kB / 0.8478 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/1.143, allocations: 99.89 kB / 0.8479 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/1.143, allocations: 67.52 kB / 0.848 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-05/1.143, allocations: 35.97 kB / 0.848 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008314/1.144, allocations: 0.5661 MB / 0.8486 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.032e-06/1.144, allocations: 0 / 0.8486 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001577/1.145, allocations: 0.5372 MB / 0.8491 GB, free: 9.152 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.0006247/1.146, allocations: 270.6 kB / 0.8493 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005315/1.151, allocations: 2.023 MB / 0.8513 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/1.151, allocations: 0 / 0.8513 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001689/1.153, allocations: 0.662 MB / 0.852 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/1.155, allocations: 0.5017 MB / 0.8524 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/1.16, allocations: 2.063 MB / 0.8545 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007643/1.161, allocations: 1.091 MB / 0.8555 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001449/1.162, allocations: 391.5 kB / 0.8559 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/1.162, allocations: 87.41 kB / 0.856 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/1.162, allocations: 0 / 0.856 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of Templates: time 0.03293/1.195, allocations: 20.82 MB / 0.8763 GB, free: 13.59 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)