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.001425/0.001425, allocations: 108 kB / 15.6 MB, free: 132 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.001313/0.001313, allocations: 193 kB / 16.53 MB, free: 6.391 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9366/0.9366, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 59.62 kB / 0.5053 GB, free: 5.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1863, allocations: 80.93 MB / 0.5844 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5614/0.7477, allocations: 214.2 MB / 0.7935 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0119/0.7596, allocations: 7.028 MB / 0.8004 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00221/0.7619, allocations: 47.69 kB / 0.8004 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002385/0.7643, allocations: 0.7843 MB / 0.8012 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007088/0.7714, allocations: 2.501 MB / 0.8036 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003113/0.7746, allocations: 1.164 MB / 0.8048 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004571/0.7792, allocations: 2.813 MB / 0.8075 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002293/0.7815, allocations: 1.082 MB / 0.8086 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005004/0.7865, allocations: 1.985 MB / 0.8105 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002313/0.7888, allocations: 0.932 MB / 0.8114 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003894/0.7892, allocations: 119.9 kB / 0.8115 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006681/0.7959, allocations: 2.451 MB / 0.8139 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008198/0.7968, allocations: 422.7 kB / 0.8143 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001847/0.7987, allocations: 0.6882 MB / 0.815 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006328/0.805, allocations: 2.47 MB / 0.8174 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.805, allocations: 4 kB / 0.8174 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.314e-06/0.805, allocations: 0 / 0.8174 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.169e-05/0.8051, allocations: 0 / 0.8174 GB, free: 14.14 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.006969/0.8121, allocations: 1.854 MB / 0.8192 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.8122, allocations: 12.03 kB / 0.8192 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004518/0.8167, allocations: 0.5369 MB / 0.8198 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/0.8186, allocations: 0.9563 MB / 0.8207 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006957/0.8193, allocations: 177.9 kB / 0.8209 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.8194, allocations: 83.98 kB / 0.821 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002929/0.8224, allocations: 1.238 MB / 0.8222 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.8224, allocations: 0 / 0.8222 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.8225, allocations: 32 kB / 0.8222 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-05/0.8226, allocations: 45.98 kB / 0.8222 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003907/0.8265, allocations: 1.55 MB / 0.8238 GB, free: 7.547 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.006848/0.8333, allocations: 4.083 MB / 0.8277 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002799/0.8362, allocations: 0.9943 MB / 0.8287 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001695/0.8379, allocations: 0.6591 MB / 0.8294 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/0.839, allocations: 0.6087 MB / 0.8299 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.8391, allocations: 43.22 kB / 0.83 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 4.148e-06/0.8391, allocations: 4 kB / 0.83 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.005375/0.8444, allocations: 1.816 MB / 0.8318 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.8445, allocations: 64 kB / 0.8318 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.8457, allocations: 0.8116 MB / 0.8326 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.8459, allocations: 41.7 kB / 0.8327 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.8462, allocations: 440.5 kB / 0.8331 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/0.8465, allocations: 264.1 kB / 0.8333 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003008/0.8468, allocations: 154.5 kB / 0.8335 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.8469, allocations: 345.9 kB / 0.8338 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/0.8485, allocations: 0.5395 MB / 0.8343 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/0.8502, allocations: 0.6598 MB / 0.835 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003264/0.8535, allocations: 1.151 MB / 0.8361 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.8535, allocations: 0 / 0.8361 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003685/0.8572, allocations: 1.36 MB / 0.8374 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.233e-05/0.8573, allocations: 33.7 kB / 0.8375 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.8573, allocations: 4 kB / 0.8375 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.8573, allocations: 4 kB / 0.8375 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/0.859, allocations: 274.9 kB / 0.8377 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007265/0.8597, allocations: 1.188 MB / 0.8389 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.861, allocations: 151.2 kB / 0.839 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-05/0.8611, allocations: 35.97 kB / 0.8391 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001829/0.8629, allocations: 0.7634 MB / 0.8398 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001575/0.8645, allocations: 0.6676 MB / 0.8405 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002933/0.8674, allocations: 1.139 MB / 0.8416 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.966e-06/0.8675, allocations: 0 / 0.8416 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003496/0.871, allocations: 1.353 MB / 0.8429 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.924e-05/0.871, allocations: 44.12 kB / 0.8429 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.871, allocations: 4.062 kB / 0.8429 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.884e-06/0.871, allocations: 4 kB / 0.843 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.8723, allocations: 231.7 kB / 0.8432 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.8723, allocations: 4 kB / 0.8432 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.8734, allocations: 135.4 kB / 0.8433 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.079e-05/0.8735, allocations: 44 kB / 0.8433 GB, free: 2.816 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.0002844/0.8738, allocations: 220.1 kB / 0.8436 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.874, allocations: 110.7 kB / 0.8437 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003589/0.8776, allocations: 1.364 MB / 0.845 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.8776, allocations: 8 kB / 0.845 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.8776, allocations: 0 / 0.845 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.8777, allocations: 3.984 kB / 0.845 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005561/0.8832, allocations: 2.859 MB / 0.8478 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.8833, allocations: 4 kB / 0.8478 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.8845, allocations: 234.5 kB / 0.848 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.8845, allocations: 12 kB / 0.848 GB, free: 13.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-05/0.8846, allocations: 27.97 kB / 0.8481 GB, free: 13.87 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006632/0.8853, allocations: 1.191 MB / 0.8492 GB, free: 12.63 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.8853, allocations: 7.938 kB / 0.8492 GB, free: 12.62 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003413/0.8887, allocations: 1.471 MB / 0.8507 GB, free: 11.09 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004697/0.8892, allocations: 311.4 kB / 0.851 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.8894, allocations: 20 kB / 0.851 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.8905, allocations: 111.8 kB / 0.8511 GB, free: 10.64 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.8907, allocations: 64.42 kB / 0.8512 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.489e-05/0.8908, allocations: 39.91 kB / 0.8512 GB, free: 10.54 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007343/0.8915, allocations: 0.57 MB / 0.8518 GB, free: 9.953 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8915, allocations: 0 / 0.8518 GB, free: 9.953 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001344/0.8929, allocations: 0.538 MB / 0.8523 GB, free: 9.414 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.0005364/0.8934, allocations: 263.8 kB / 0.8525 GB, free: 9.172 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005776/0.8992, allocations: 2.139 MB / 0.8546 GB, free: 7.008 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.8992, allocations: 0 / 0.8546 GB, free: 7.008 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001778/0.901, allocations: 0.6793 MB / 0.8553 GB, free: 6.328 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/0.9034, allocations: 0.4923 MB / 0.8558 GB, free: 5.855 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/0.9078, allocations: 2.106 MB / 0.8578 GB, free: 3.676 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006689/0.9084, allocations: 1.098 MB / 0.8589 GB, free: 2.547 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00157/0.91, allocations: 391.5 kB / 0.8593 GB, free: 2.16 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/0.9103, allocations: 83.41 kB / 0.8593 GB, free: 2.078 MB / 0.67 GB Notification: Performance of SimCode: time 2.144e-06/0.9104, allocations: 0 / 0.8593 GB, free: 2.078 MB / 0.67 GB Notification: Performance of Templates: time 0.297/1.207, allocations: 20.85 MB / 0.8797 GB, free: 220 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)