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.001095/0.001095, allocations: 113.9 kB / 16.37 MB, free: 6.012 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.001085/0.001085, allocations: 191.2 kB / 17.31 MB, free: 5.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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7724/0.7724, allocations: 132.2 MB / 423.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.00131, allocations: 55.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3294, allocations: 80.19 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5168/0.8462, allocations: 214.2 MB / 0.7907 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009891/0.8561, allocations: 7.021 MB / 0.7975 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.8577, allocations: 42.91 kB / 0.7976 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.8595, allocations: 0.7908 MB / 0.7983 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005517/0.865, allocations: 2.499 MB / 0.8008 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.8677, allocations: 1.193 MB / 0.8019 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003205/0.8709, allocations: 2.812 MB / 0.8047 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/0.8722, allocations: 1.097 MB / 0.8058 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003634/0.8758, allocations: 1.982 MB / 0.8077 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001734/0.8776, allocations: 0.9273 MB / 0.8086 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.8778, allocations: 119.3 kB / 0.8087 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004386/0.8822, allocations: 2.446 MB / 0.8111 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004692/0.8826, allocations: 428.9 kB / 0.8115 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007932/0.8834, allocations: 0.6877 MB / 0.8122 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004046/0.8875, allocations: 2.5 MB / 0.8146 GB, free: 436 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.8875, allocations: 1.094 kB / 0.8146 GB, free: 436 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8875, allocations: 0 / 0.8146 GB, free: 436 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.712e-05/0.8875, allocations: 0 / 0.8146 GB, free: 436 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.004158/0.8917, allocations: 1.853 MB / 0.8164 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.8918, allocations: 11.03 kB / 0.8164 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002927/0.8947, allocations: 0.5303 MB / 0.817 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.8965, allocations: 1.003 MB / 0.8179 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-05/0.8966, allocations: 66.5 kB / 0.818 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.8967, allocations: 90.23 kB / 0.8181 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/0.8992, allocations: 1.223 MB / 0.8193 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.8992, allocations: 0 / 0.8193 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.8993, allocations: 33.94 kB / 0.8193 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.931e-05/0.8994, allocations: 46.16 kB / 0.8194 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003215/0.9026, allocations: 1.528 MB / 0.8209 GB, free: 15.02 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.005885/0.9085, allocations: 4.032 MB / 0.8248 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002144/0.9106, allocations: 0.9726 MB / 0.8257 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.912, allocations: 0.6569 MB / 0.8264 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/0.9132, allocations: 0.6079 MB / 0.827 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.9132, allocations: 43.28 kB / 0.827 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.635e-06/0.9132, allocations: 4 kB / 0.827 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.004612/0.9178, allocations: 1.784 MB / 0.8288 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.9179, allocations: 62.05 kB / 0.8288 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.9189, allocations: 0.8172 MB / 0.8296 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.919, allocations: 47.05 kB / 0.8297 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.9194, allocations: 452.7 kB / 0.8301 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.9196, allocations: 256.8 kB / 0.8303 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00029/0.9199, allocations: 153.1 kB / 0.8305 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.92, allocations: 331.5 kB / 0.8308 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.9213, allocations: 0.5351 MB / 0.8313 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.9227, allocations: 0.658 MB / 0.832 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00258/0.9253, allocations: 1.127 MB / 0.8331 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.9253, allocations: 0 / 0.8331 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003021/0.9283, allocations: 1.346 MB / 0.8344 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.288e-05/0.9284, allocations: 33.92 kB / 0.8344 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.9284, allocations: 4.062 kB / 0.8344 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.9284, allocations: 5.469 kB / 0.8344 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.9299, allocations: 255.2 kB / 0.8347 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006803/0.9306, allocations: 1.197 MB / 0.8358 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.9317, allocations: 141.7 kB / 0.836 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.291e-05/0.9318, allocations: 31.67 kB / 0.836 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001636/0.9334, allocations: 0.7572 MB / 0.8367 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001301/0.9347, allocations: 0.6539 MB / 0.8374 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00248/0.9372, allocations: 1.124 MB / 0.8385 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.9372, allocations: 0 / 0.8385 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.002978/0.9402, allocations: 1.335 MB / 0.8398 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.021e-05/0.9403, allocations: 37.77 kB / 0.8398 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.9403, allocations: 0 / 0.8398 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.9403, allocations: 11.94 kB / 0.8398 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.9415, allocations: 229.2 kB / 0.8401 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.9415, allocations: 4 kB / 0.8401 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.9425, allocations: 135.2 kB / 0.8402 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-05/0.9426, allocations: 38.47 kB / 0.8402 GB, free: 2.414 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.0002814/0.9429, allocations: 225.7 kB / 0.8404 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.9431, allocations: 106.7 kB / 0.8405 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/0.9463, allocations: 1.343 MB / 0.8419 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.006e-06/0.9463, allocations: 15.98 kB / 0.8419 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.9463, allocations: 0 / 0.8419 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.9463, allocations: 3.984 kB / 0.8419 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005194/0.9515, allocations: 2.84 MB / 0.8446 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.9515, allocations: 4.469 kB / 0.8446 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.9527, allocations: 233.2 kB / 0.8449 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.659e-06/0.9528, allocations: 8 kB / 0.8449 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.879e-05/0.9528, allocations: 31.86 kB / 0.8449 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000552/0.9534, allocations: 1.198 MB / 0.8461 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.9534, allocations: 4 kB / 0.8461 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002971/0.9564, allocations: 1.45 MB / 0.8475 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005787/0.957, allocations: 311.4 kB / 0.8478 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.9571, allocations: 20 kB / 0.8478 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.9582, allocations: 103.9 kB / 0.8479 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.9583, allocations: 59.53 kB / 0.848 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.523e-05/0.9584, allocations: 39.97 kB / 0.848 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007174/0.9591, allocations: 0.5661 MB / 0.8486 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9591, allocations: 0 / 0.8486 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001353/0.9605, allocations: 0.5341 MB / 0.8491 GB, free: 9.16 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.0006015/0.9611, allocations: 266.7 kB / 0.8493 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00487/0.966, allocations: 2.023 MB / 0.8513 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.966, allocations: 7.938 kB / 0.8513 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001585/0.9676, allocations: 0.6581 MB / 0.852 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/0.9697, allocations: 0.4936 MB / 0.8524 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004059/0.9738, allocations: 2.06 MB / 0.8545 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006708/0.9745, allocations: 1.091 MB / 0.8555 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001262/0.9758, allocations: 398.7 kB / 0.8559 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003084/0.9761, allocations: 87.41 kB / 0.856 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.9761, allocations: 0 / 0.856 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of Templates: time 0.03116/1.007, allocations: 20.82 MB / 0.8763 GB, free: 13.6 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)