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.001347/0.001348, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001316/0.001316, allocations: 190.9 kB / 16.14 MB, free: 6.711 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.362/1.362, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9591/0.9591, allocations: 135.1 MB / 425.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 61.52 kB / 0.5047 GB, free: 5.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.181, allocations: 80.92 MB / 0.5837 GB, free: 5.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5768/0.7578, allocations: 212 MB / 0.7907 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01397/0.7719, allocations: 7.137 MB / 0.7977 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003363/0.7754, allocations: 39.75 kB / 0.7977 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002944/0.7783, allocations: 0.6528 MB / 0.7984 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008625/0.787, allocations: 2.359 MB / 0.8007 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00357/0.7906, allocations: 1.054 MB / 0.8017 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005209/0.7958, allocations: 3.745 MB / 0.8054 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002096/0.7979, allocations: 0.9277 MB / 0.8063 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005058/0.803, allocations: 1.794 MB / 0.808 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002556/0.8056, allocations: 0.9466 MB / 0.8089 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003613/0.806, allocations: 60 kB / 0.809 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005742/0.8117, allocations: 2.81 MB / 0.8117 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009339/0.8127, allocations: 370.7 kB / 0.8121 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001783/0.8145, allocations: 0.6257 MB / 0.8127 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006182/0.8207, allocations: 2.571 MB / 0.8152 GB, free: 268 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.8207, allocations: 0 / 0.8152 GB, free: 268 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8208, allocations: 4 kB / 0.8152 GB, free: 264 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.379e-05/0.8208, allocations: 0 / 0.8152 GB, free: 264 kB / 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.006593/0.8274, allocations: 1.846 MB / 0.817 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.8275, allocations: 8.031 kB / 0.817 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003627/0.8311, allocations: 0.5408 MB / 0.8176 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/0.8336, allocations: 0.9563 MB / 0.8185 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006608/0.8343, allocations: 177.9 kB / 0.8187 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002813/0.8346, allocations: 87.94 kB / 0.8188 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003348/0.838, allocations: 1.233 MB / 0.82 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.838, allocations: 3.938 kB / 0.82 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.8382, allocations: 31.98 kB / 0.82 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.19e-05/0.8382, allocations: 49.98 kB / 0.82 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003894/0.8421, allocations: 1.546 MB / 0.8215 GB, free: 9.672 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.008136/0.8503, allocations: 4.047 MB / 0.8255 GB, free: 5.344 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002676/0.853, allocations: 1.001 MB / 0.8265 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/0.8546, allocations: 0.6669 MB / 0.8271 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/0.8559, allocations: 0.6087 MB / 0.8277 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.8559, allocations: 39.22 kB / 0.8278 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.985e-06/0.856, allocations: 4 kB / 0.8278 GB, free: 2.895 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.005176/0.8611, allocations: 1.808 MB / 0.8295 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.8612, allocations: 64.06 kB / 0.8296 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.8627, allocations: 0.8154 MB / 0.8304 GB, free: 172 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/0.8629, allocations: 41.7 kB / 0.8304 GB, free: 124 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004063/0.8633, allocations: 440.6 kB / 0.8308 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/0.8636, allocations: 264 kB / 0.8311 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003906/0.864, allocations: 158.5 kB / 0.8313 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.8642, allocations: 337.9 kB / 0.8316 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.8656, allocations: 0.5395 MB / 0.8321 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.8672, allocations: 0.6598 MB / 0.8327 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002833/0.87, allocations: 1.155 MB / 0.8339 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.8701, allocations: 0 / 0.8339 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00359/0.8737, allocations: 1.36 MB / 0.8352 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.483e-05/0.8737, allocations: 41.69 kB / 0.8352 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.8738, allocations: 4 kB / 0.8352 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.8738, allocations: 4 kB / 0.8352 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/0.8754, allocations: 259.7 kB / 0.8355 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007859/0.8762, allocations: 1.195 MB / 0.8367 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.8775, allocations: 171.3 kB / 0.8368 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.8777, allocations: 31.98 kB / 0.8369 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00184/0.8795, allocations: 0.7712 MB / 0.8376 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001513/0.881, allocations: 0.6572 MB / 0.8383 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002799/0.8839, allocations: 1.139 MB / 0.8394 GB, free: 6.773 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.737e-06/0.8839, allocations: 3.938 kB / 0.8394 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003389/0.8873, allocations: 1.353 MB / 0.8407 GB, free: 5.402 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.8873, allocations: 45.62 kB / 0.8407 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.8873, allocations: 4 kB / 0.8407 GB, free: 5.348 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.8874, allocations: 4 kB / 0.8407 GB, free: 5.344 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.8886, allocations: 231.7 kB / 0.841 GB, free: 5.117 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.8886, allocations: 11.94 kB / 0.841 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.89, allocations: 162.9 kB / 0.8411 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.8901, allocations: 39.97 kB / 0.8412 GB, free: 4.91 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.0003243/0.8904, allocations: 216.1 kB / 0.8414 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003231/0.8907, allocations: 114.7 kB / 0.8415 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/0.8942, allocations: 1.36 MB / 0.8428 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.8943, allocations: 8 kB / 0.8428 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.8943, allocations: 96 / 0.8428 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.8943, allocations: 7.969 kB / 0.8428 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006003/0.9003, allocations: 2.855 MB / 0.8456 GB, free: 244 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/0.9003, allocations: 8 kB / 0.8456 GB, free: 236 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.9016, allocations: 234.1 kB / 0.8458 GB, free: 4 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-05/0.9017, allocations: 12.05 kB / 0.8459 GB, free: 15.99 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.047e-05/0.9018, allocations: 23.92 kB / 0.8459 GB, free: 15.97 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007653/0.9026, allocations: 1.195 MB / 0.847 GB, free: 14.73 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.9026, allocations: 4.188 kB / 0.8471 GB, free: 14.72 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003509/0.9061, allocations: 1.463 MB / 0.8485 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007244/0.9068, allocations: 319.4 kB / 0.8488 GB, free: 12.86 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.9071, allocations: 12 kB / 0.8488 GB, free: 12.85 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/0.9085, allocations: 151.7 kB / 0.8489 GB, free: 12.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.9086, allocations: 64.42 kB / 0.849 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.662e-05/0.9087, allocations: 35.97 kB / 0.849 GB, free: 12.61 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009046/0.9096, allocations: 0.57 MB / 0.8496 GB, free: 12.02 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9097, allocations: 0 / 0.8496 GB, free: 12.02 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001693/0.9114, allocations: 0.534 MB / 0.8501 GB, free: 11.49 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.0007813/0.9121, allocations: 282.6 kB / 0.8504 GB, free: 11.22 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005464/0.9176, allocations: 2.045 MB / 0.8524 GB, free: 9.152 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.9176, allocations: 0 / 0.8524 GB, free: 9.152 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001748/0.9194, allocations: 0.6715 MB / 0.853 GB, free: 8.48 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003021/0.9224, allocations: 0.5055 MB / 0.8535 GB, free: 7.988 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005262/0.9277, allocations: 2.501 MB / 0.856 GB, free: 5.414 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008277/0.9286, allocations: 1.094 MB / 0.857 GB, free: 4.293 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001902/0.9305, allocations: 399.5 kB / 0.8574 GB, free: 3.898 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000421/0.9309, allocations: 83.41 kB / 0.8575 GB, free: 3.816 MB / 0.67 GB Notification: Performance of SimCode: time 1.663e-06/0.9309, allocations: 0 / 0.8575 GB, free: 3.816 MB / 0.67 GB Notification: Performance of Templates: time 0.3097/1.241, allocations: 20.11 MB / 0.8771 GB, free: 220.3 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)