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.001494/0.001494, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 199.5 kB / 16.79 MB, free: 6.809 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.376/1.376, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9267/0.9267, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.81 kB / 0.5053 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1898, allocations: 80.93 MB / 0.5843 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6345/0.8244, allocations: 212 MB / 0.7914 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01228/0.8367, allocations: 7.128 MB / 0.7983 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002223/0.839, allocations: 39.75 kB / 0.7984 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002359/0.8414, allocations: 0.6528 MB / 0.799 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007331/0.8487, allocations: 2.358 MB / 0.8013 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003238/0.852, allocations: 1.052 MB / 0.8024 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004959/0.857, allocations: 3.741 MB / 0.806 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001854/0.8588, allocations: 0.9394 MB / 0.8069 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004692/0.8635, allocations: 1.794 MB / 0.8087 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002371/0.8659, allocations: 0.9411 MB / 0.8096 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002065/0.8662, allocations: 60 kB / 0.8097 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005544/0.8717, allocations: 2.81 MB / 0.8124 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005461/0.8723, allocations: 374.7 kB / 0.8128 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009949/0.8733, allocations: 0.6218 MB / 0.8134 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002684/0.876, allocations: 1.828 MB / 0.8151 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.876, allocations: 0 / 0.8151 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.485e-06/0.876, allocations: 0 / 0.8151 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.501e-05/0.876, allocations: 3.938 kB / 0.8151 GB, free: 0.9336 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.004725/0.8808, allocations: 1.846 MB / 0.817 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.8808, allocations: 8.031 kB / 0.817 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003243/0.8841, allocations: 0.5408 MB / 0.8175 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.8858, allocations: 0.9563 MB / 0.8184 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005974/0.8865, allocations: 177.8 kB / 0.8186 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.8866, allocations: 84 kB / 0.8187 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002735/0.8894, allocations: 1.233 MB / 0.8199 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.8894, allocations: 0 / 0.8199 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.8895, allocations: 36 kB / 0.8199 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.666e-05/0.8896, allocations: 45.98 kB / 0.82 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00366/0.8932, allocations: 1.554 MB / 0.8215 GB, free: 10.35 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.006806/0.9001, allocations: 4.047 MB / 0.8254 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002479/0.9026, allocations: 0.9936 MB / 0.8264 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.9041, allocations: 0.6631 MB / 0.827 GB, free: 4.355 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/0.9053, allocations: 0.6164 MB / 0.8276 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.9053, allocations: 43.16 kB / 0.8277 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 3.066e-06/0.9053, allocations: 3.938 kB / 0.8277 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.004915/0.9102, allocations: 1.808 MB / 0.8295 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.9103, allocations: 64.06 kB / 0.8295 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.9115, allocations: 0.8194 MB / 0.8303 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.9116, allocations: 41.7 kB / 0.8304 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/0.912, allocations: 440.6 kB / 0.8308 GB, free: 364 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002417/0.9122, allocations: 260.1 kB / 0.831 GB, free: 100 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003229/0.9125, allocations: 154.5 kB / 0.8312 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.9127, allocations: 337.9 kB / 0.8315 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/0.9141, allocations: 0.5395 MB / 0.832 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/0.9156, allocations: 0.6676 MB / 0.8327 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002775/0.9184, allocations: 1.147 MB / 0.8338 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.9184, allocations: 4 kB / 0.8338 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003384/0.9218, allocations: 1.368 MB / 0.8351 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.648e-05/0.9219, allocations: 37.7 kB / 0.8352 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.9219, allocations: 0 / 0.8352 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.9219, allocations: 4 kB / 0.8352 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.9235, allocations: 263.5 kB / 0.8354 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007666/0.9243, allocations: 1.192 MB / 0.8366 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.9256, allocations: 181.1 kB / 0.8368 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.594e-05/0.9258, allocations: 35.92 kB / 0.8368 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001852/0.9276, allocations: 0.7673 MB / 0.8375 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001483/0.9291, allocations: 0.6598 MB / 0.8382 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002807/0.9319, allocations: 1.139 MB / 0.8393 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.576e-06/0.9319, allocations: 0 / 0.8393 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003445/0.9354, allocations: 1.36 MB / 0.8406 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.515e-05/0.9355, allocations: 41.64 kB / 0.8407 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.9355, allocations: 0 / 0.8407 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.9355, allocations: 4 kB / 0.8407 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.9367, allocations: 231.8 kB / 0.8409 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.9368, allocations: 7.984 kB / 0.8409 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.938, allocations: 163.4 kB / 0.8411 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.474e-05/0.9381, allocations: 35.98 kB / 0.8411 GB, free: 5.59 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.0003511/0.9385, allocations: 222.7 kB / 0.8413 GB, free: 5.367 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.9387, allocations: 106.7 kB / 0.8414 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003569/0.9423, allocations: 1.359 MB / 0.8427 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.9423, allocations: 19.92 kB / 0.8427 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.9424, allocations: 0 / 0.8427 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.9424, allocations: 3.984 kB / 0.8428 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006103/0.9485, allocations: 2.851 MB / 0.8455 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.405e-06/0.9485, allocations: 4.469 kB / 0.8455 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/0.9499, allocations: 240.7 kB / 0.8458 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.966e-05/0.9499, allocations: 8 kB / 0.8458 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.009e-05/0.95, allocations: 19.98 kB / 0.8458 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007697/0.9508, allocations: 1.199 MB / 0.847 GB, free: 15.41 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.415e-06/0.9508, allocations: 7.938 kB / 0.847 GB, free: 15.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003415/0.9542, allocations: 1.467 MB / 0.8484 GB, free: 13.87 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007198/0.955, allocations: 315.4 kB / 0.8487 GB, free: 13.54 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002546/0.9552, allocations: 16 kB / 0.8487 GB, free: 13.52 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/0.9567, allocations: 147.7 kB / 0.8489 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.9568, allocations: 56.42 kB / 0.8489 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.972e-05/0.9569, allocations: 35.97 kB / 0.849 GB, free: 13.29 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001023/0.958, allocations: 0.57 MB / 0.8495 GB, free: 12.71 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.958, allocations: 4 kB / 0.8495 GB, free: 12.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002006/0.96, allocations: 0.534 MB / 0.85 GB, free: 12.17 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.0008085/0.9608, allocations: 278.8 kB / 0.8503 GB, free: 11.91 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005563/0.9664, allocations: 2.047 MB / 0.8523 GB, free: 9.836 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/0.9664, allocations: 0 / 0.8523 GB, free: 9.836 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001836/0.9683, allocations: 0.6754 MB / 0.853 GB, free: 9.16 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/0.971, allocations: 0.5034 MB / 0.8535 GB, free: 8.668 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004666/0.9757, allocations: 2.55 MB / 0.8559 GB, free: 6.039 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006936/0.9764, allocations: 1.094 MB / 0.857 GB, free: 4.918 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004968/0.977, allocations: 99.38 kB / 0.8571 GB, free: 4.82 MB / 0.67 GB Notification: Performance of SimCode: time 8.22e-07/0.977, allocations: 0 / 0.8571 GB, free: 4.82 MB / 0.67 GB Notification: Performance of Templates: time 0.2996/1.277, allocations: 26.85 MB / 0.8833 GB, free: 219 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)