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.005736/0.005736, allocations: 102 kB / 15.73 MB, free: 6.051 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.001384/0.001384, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8735/0.8735, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 58.72 kB / 0.5813 GB, free: 23.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.177, allocations: 80.22 MB / 0.6597 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6496/0.8266, allocations: 214.2 MB / 0.8688 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01152/0.8382, allocations: 7.031 MB / 0.8757 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001981/0.8402, allocations: 43.75 kB / 0.8757 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002257/0.8425, allocations: 0.8116 MB / 0.8765 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00694/0.8495, allocations: 2.618 MB / 0.8791 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003284/0.8528, allocations: 1.172 MB / 0.8802 GB, free: 3.988 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004378/0.8572, allocations: 2.83 MB / 0.883 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002034/0.8592, allocations: 1.083 MB / 0.884 GB, free: 56 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00489/0.8641, allocations: 2.051 MB / 0.886 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002616/0.8668, allocations: 0.9419 MB / 0.887 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004552/0.8672, allocations: 116 kB / 0.8871 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006511/0.8738, allocations: 2.459 MB / 0.8895 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001022/0.8748, allocations: 430.7 kB / 0.8899 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001656/0.8765, allocations: 0.6843 MB / 0.8906 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005393/0.8819, allocations: 2.501 MB / 0.893 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.8819, allocations: 3.938 kB / 0.893 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.415e-06/0.8819, allocations: 3.938 kB / 0.893 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.59e-05/0.882, allocations: 0 / 0.893 GB, free: 6.859 MB / 0.6544 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.005198/0.8872, allocations: 1.84 MB / 0.8948 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.8873, allocations: 16.03 kB / 0.8948 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003165/0.8904, allocations: 0.537 MB / 0.8953 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.8923, allocations: 1.007 MB / 0.8963 GB, free: 3.355 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.364e-05/0.8924, allocations: 65.94 kB / 0.8964 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.8925, allocations: 87.98 kB / 0.8965 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002664/0.8952, allocations: 1.217 MB / 0.8977 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.8953, allocations: 4 kB / 0.8977 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.8954, allocations: 31.98 kB / 0.8977 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.429e-05/0.8954, allocations: 49.98 kB / 0.8977 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003661/0.8991, allocations: 1.534 MB / 0.8992 GB, free: 368 kB / 0.6544 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.006285/0.9054, allocations: 4.041 MB / 0.9032 GB, free: 12.04 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/0.9078, allocations: 0.9671 MB / 0.9041 GB, free: 11.07 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.9093, allocations: 0.663 MB / 0.9048 GB, free: 10.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/0.9104, allocations: 0.6048 MB / 0.9054 GB, free: 9.688 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.9104, allocations: 51.14 kB / 0.9054 GB, free: 9.629 MB / 0.67 GB Notification: Performance of pre-optimization done (n=76): time 2.655e-06/0.9104, allocations: 0 / 0.9054 GB, free: 9.629 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.00482/0.9152, allocations: 1.781 MB / 0.9072 GB, free: 7.84 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.9153, allocations: 56.06 kB / 0.9072 GB, free: 7.773 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.9163, allocations: 0.8232 MB / 0.908 GB, free: 6.926 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.042e-05/0.9164, allocations: 37.7 kB / 0.908 GB, free: 6.883 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/0.9168, allocations: 444.5 kB / 0.9085 GB, free: 6.441 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.917, allocations: 260.1 kB / 0.9087 GB, free: 6.184 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003113/0.9173, allocations: 158.5 kB / 0.9089 GB, free: 6.02 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.9174, allocations: 341.9 kB / 0.9092 GB, free: 5.68 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.9188, allocations: 0.5316 MB / 0.9097 GB, free: 5.145 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.9203, allocations: 0.6559 MB / 0.9104 GB, free: 4.453 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002744/0.9231, allocations: 1.135 MB / 0.9115 GB, free: 3.293 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.9231, allocations: 0 / 0.9115 GB, free: 3.293 MB / 0.67 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003376/0.9265, allocations: 1.341 MB / 0.9128 GB, free: 1.938 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.466e-05/0.9265, allocations: 37.7 kB / 0.9128 GB, free: 1.895 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.9265, allocations: 0 / 0.9128 GB, free: 1.895 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.9266, allocations: 4 kB / 0.9128 GB, free: 1.891 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.9281, allocations: 257.3 kB / 0.9131 GB, free: 1.641 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007019/0.9289, allocations: 1.193 MB / 0.9142 GB, free: 412 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.93, allocations: 147.4 kB / 0.9144 GB, free: 264 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-05/0.9301, allocations: 36.92 kB / 0.9144 GB, free: 228 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001831/0.9319, allocations: 0.7556 MB / 0.9151 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001483/0.9334, allocations: 0.6481 MB / 0.9158 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002712/0.9361, allocations: 1.123 MB / 0.9169 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/0.9361, allocations: 0 / 0.9169 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003228/0.9394, allocations: 1.333 MB / 0.9182 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/0.9394, allocations: 37.64 kB / 0.9182 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.9394, allocations: 4 kB / 0.9182 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.9395, allocations: 4 kB / 0.9182 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.9407, allocations: 231.8 kB / 0.9184 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.9407, allocations: 7.938 kB / 0.9184 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.9418, allocations: 127.4 kB / 0.9186 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.641e-05/0.9419, allocations: 39.97 kB / 0.9186 GB, free: 11.84 MB / 0.6856 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.0003029/0.9422, allocations: 224.1 kB / 0.9188 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.9424, allocations: 114.6 kB / 0.9189 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003346/0.9457, allocations: 1.34 MB / 0.9202 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.9457, allocations: 8 kB / 0.9202 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.9458, allocations: 3.984 kB / 0.9202 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.9458, allocations: 0 / 0.9202 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005433/0.9512, allocations: 2.839 MB / 0.923 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.9512, allocations: 4 kB / 0.923 GB, free: 7.195 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/0.9525, allocations: 224 kB / 0.9232 GB, free: 6.977 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/0.9525, allocations: 8 kB / 0.9232 GB, free: 6.969 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.362e-05/0.9526, allocations: 23.98 kB / 0.9233 GB, free: 6.945 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006155/0.9532, allocations: 1.195 MB / 0.9244 GB, free: 5.703 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.9533, allocations: 7.938 kB / 0.9244 GB, free: 5.695 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003289/0.9565, allocations: 1.451 MB / 0.9259 GB, free: 4.18 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005481/0.9571, allocations: 311.5 kB / 0.9262 GB, free: 3.855 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.9572, allocations: 20 kB / 0.9262 GB, free: 3.836 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.9583, allocations: 115.8 kB / 0.9263 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.9585, allocations: 56.44 kB / 0.9263 GB, free: 3.664 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.998e-05/0.9586, allocations: 35.97 kB / 0.9264 GB, free: 3.629 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008402/0.9594, allocations: 0.5739 MB / 0.9269 GB, free: 3.043 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9594, allocations: 4 kB / 0.9269 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001513/0.9609, allocations: 0.5263 MB / 0.9275 GB, free: 2.512 MB / 0.6856 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.0006114/0.9616, allocations: 276.2 kB / 0.9277 GB, free: 2.254 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005242/0.9668, allocations: 2.022 MB / 0.9297 GB, free: 212 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.9669, allocations: 4 kB / 0.9297 GB, free: 208 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001649/0.9685, allocations: 0.6598 MB / 0.9303 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/0.9707, allocations: 498.8 kB / 0.9308 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004086/0.9748, allocations: 2.071 MB / 0.9328 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006514/0.9755, allocations: 1.094 MB / 0.9339 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001323/0.9768, allocations: 387.5 kB / 0.9343 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/0.9772, allocations: 95.34 kB / 0.9344 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of SimCode: time 7.71e-07/0.9772, allocations: 0 / 0.9344 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of Templates: time 0.03571/1.013, allocations: 20.97 MB / 0.9548 GB, free: 6.629 MB / 0.7169 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)