Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001224/0.001224, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.008093/0.008093, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.398/1.398, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9815/0.9815, allocations: 135.3 MB / 426.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003634, allocations: 8.656 kB / 0.5076 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1835, allocations: 82.31 MB / 0.588 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5776/0.7612, allocations: 209.2 MB / 0.7922 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01152/0.7728, allocations: 7.064 MB / 0.7991 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001738/0.7746, allocations: 35.75 kB / 0.7992 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002077/0.7767, allocations: 0.6489 MB / 0.7998 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006553/0.7832, allocations: 2.363 MB / 0.8021 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.7862, allocations: 1.056 MB / 0.8031 GB, free: 64 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004889/0.7911, allocations: 3.745 MB / 0.8068 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.7927, allocations: 0.9025 MB / 0.8077 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004621/0.7973, allocations: 1.763 MB / 0.8094 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002373/0.7997, allocations: 0.9083 MB / 0.8103 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001972/0.7999, allocations: 48 kB / 0.8103 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005693/0.8056, allocations: 2.794 MB / 0.8131 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006465/0.8063, allocations: 346.7 kB / 0.8134 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.8075, allocations: 0.6273 MB / 0.814 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004571/0.8121, allocations: 2.523 MB / 0.8165 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.8121, allocations: 4 kB / 0.8165 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.394e-06/0.8121, allocations: 0 / 0.8165 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.916e-05/0.8121, allocations: 0 / 0.8165 GB, free: 2.344 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.004248/0.8164, allocations: 1.605 MB / 0.818 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.8164, allocations: 8.031 kB / 0.818 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003213/0.8197, allocations: 0.576 MB / 0.8186 GB, free: 96 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/0.8215, allocations: 0.968 MB / 0.8195 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006799/0.8222, allocations: 193.9 kB / 0.8197 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.8224, allocations: 88 kB / 0.8198 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002853/0.8253, allocations: 1.264 MB / 0.8211 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.8253, allocations: 4 kB / 0.8211 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.8254, allocations: 39.98 kB / 0.8211 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.987e-05/0.8255, allocations: 49.97 kB / 0.8211 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003855/0.8294, allocations: 1.62 MB / 0.8227 GB, free: 11.82 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.006955/0.8363, allocations: 4.083 MB / 0.8267 GB, free: 7.461 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/0.839, allocations: 1.056 MB / 0.8277 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.8406, allocations: 0.7021 MB / 0.8284 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/0.8418, allocations: 0.6282 MB / 0.829 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.8419, allocations: 47.2 kB / 0.8291 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 3.316e-06/0.8419, allocations: 4 kB / 0.8291 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.005274/0.8472, allocations: 1.91 MB / 0.831 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.8472, allocations: 67.98 kB / 0.831 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.8483, allocations: 0.8193 MB / 0.8318 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.8484, allocations: 41.7 kB / 0.8319 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003434/0.8488, allocations: 444.5 kB / 0.8323 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.849, allocations: 260.2 kB / 0.8325 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.8491, allocations: 61.69 kB / 0.8326 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.8492, allocations: 337.9 kB / 0.8329 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/0.8508, allocations: 0.568 MB / 0.8335 GB, free: 352 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001635/0.8524, allocations: 0.7027 MB / 0.8342 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003063/0.8555, allocations: 1.217 MB / 0.8353 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.8555, allocations: 0 / 0.8353 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003602/0.8591, allocations: 1.439 MB / 0.8367 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.8593, allocations: 152.8 kB / 0.8369 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.8593, allocations: 0 / 0.8369 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.8593, allocations: 4 kB / 0.8369 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/0.8609, allocations: 283.6 kB / 0.8372 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007202/0.8617, allocations: 1.188 MB / 0.8383 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.863, allocations: 196 kB / 0.8385 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.539e-05/0.8631, allocations: 35.97 kB / 0.8385 GB, free: 11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.8631, allocations: 10.81 kB / 0.8386 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003427/0.8666, allocations: 1.325 MB / 0.8399 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.8666, allocations: 3.938 kB / 0.8399 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-06/0.8666, allocations: 4 kB / 0.8399 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.8679, allocations: 255.7 kB / 0.8401 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.8679, allocations: 11.92 kB / 0.8401 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.8692, allocations: 191.1 kB / 0.8403 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.423e-05/0.8693, allocations: 39.97 kB / 0.8403 GB, free: 9.164 MB / 0.6544 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.0006342/0.87, allocations: 369 kB / 0.8407 GB, free: 8.793 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003205/0.8703, allocations: 102.7 kB / 0.8408 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003827/0.8741, allocations: 1.441 MB / 0.8422 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.8742, allocations: 8 kB / 0.8422 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.8742, allocations: 0 / 0.8422 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.8742, allocations: 3.984 kB / 0.8422 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006186/0.8804, allocations: 2.925 MB / 0.8451 GB, free: 4.203 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.8804, allocations: 4 kB / 0.8451 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/0.8817, allocations: 247.8 kB / 0.8453 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.756e-05/0.8817, allocations: 15.88 kB / 0.8453 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.886e-05/0.8818, allocations: 23.98 kB / 0.8453 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008304/0.8827, allocations: 1.203 MB / 0.8465 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.8827, allocations: 7.938 kB / 0.8465 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003721/0.8864, allocations: 1.529 MB / 0.848 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007454/0.8872, allocations: 323.4 kB / 0.8483 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/0.8874, allocations: 16 kB / 0.8483 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.8889, allocations: 163.9 kB / 0.8485 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.889, allocations: 60.36 kB / 0.8486 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-05/0.8891, allocations: 35.97 kB / 0.8486 GB, free: 476 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009163/0.89, allocations: 0.5739 MB / 0.8491 GB, free: 15.88 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.9e-07/0.8901, allocations: 0 / 0.8491 GB, free: 15.88 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001688/0.8917, allocations: 0.5263 MB / 0.8497 GB, free: 15.35 MB / 0.67 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.0007148/0.8925, allocations: 279.2 kB / 0.8499 GB, free: 15.09 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005781/0.8983, allocations: 2.151 MB / 0.852 GB, free: 12.92 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.8983, allocations: 0 / 0.852 GB, free: 12.92 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001912/0.9002, allocations: 0.7067 MB / 0.8527 GB, free: 12.21 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003837/0.9041, allocations: 0.5089 MB / 0.8532 GB, free: 11.71 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005667/0.9098, allocations: 2.566 MB / 0.8557 GB, free: 9.078 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008284/0.9106, allocations: 1.094 MB / 0.8568 GB, free: 7.957 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001898/0.9125, allocations: 395.5 kB / 0.8572 GB, free: 7.566 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000392/0.9129, allocations: 87.41 kB / 0.8573 GB, free: 7.48 MB / 0.67 GB Notification: Performance of SimCode: time 1.583e-06/0.913, allocations: 0 / 0.8573 GB, free: 7.48 MB / 0.67 GB Notification: Performance of Templates: time 0.3645/1.277, allocations: 20 MB / 0.8768 GB, free: 216.9 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)