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.001536/0.001536, allocations: 102.9 kB / 16.4 MB, free: 6.465 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.001808/0.001808, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8005/0.8005, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 69.62 kB / 0.582 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1646, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6202/0.7848, allocations: 214.2 MB / 0.8695 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01386/0.7988, allocations: 7.032 MB / 0.8763 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002671/0.8016, allocations: 43.75 kB / 0.8764 GB, free: 8.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002974/0.8046, allocations: 0.7843 MB / 0.8772 GB, free: 7.961 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008581/0.8132, allocations: 2.509 MB / 0.8796 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003594/0.8168, allocations: 1.175 MB / 0.8808 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00485/0.8216, allocations: 2.818 MB / 0.8835 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002203/0.8239, allocations: 1.083 MB / 0.8846 GB, free: 372 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00553/0.8294, allocations: 2.016 MB / 0.8865 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00283/0.8323, allocations: 0.9299 MB / 0.8874 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000529/0.8328, allocations: 116 kB / 0.8875 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005285/0.8381, allocations: 2.455 MB / 0.8899 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007231/0.8389, allocations: 422.7 kB / 0.8903 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001367/0.8403, allocations: 0.692 MB / 0.891 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005107/0.8454, allocations: 2.497 MB / 0.8935 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.8454, allocations: 3.938 kB / 0.8935 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8454, allocations: 4 kB / 0.8935 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.966e-05/0.8455, allocations: 0 / 0.8935 GB, free: 7.219 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.00554/0.851, allocations: 1.84 MB / 0.8953 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.8511, allocations: 8.031 kB / 0.8953 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003281/0.8544, allocations: 0.537 MB / 0.8958 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/0.8565, allocations: 1.015 MB / 0.8968 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.615e-05/0.8566, allocations: 70 kB / 0.8969 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.8568, allocations: 88 kB / 0.8969 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002964/0.8597, allocations: 1.221 MB / 0.8981 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.8598, allocations: 0 / 0.8981 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/0.8599, allocations: 35.98 kB / 0.8982 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.913e-05/0.86, allocations: 45.98 kB / 0.8982 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003835/0.8638, allocations: 1.53 MB / 0.8997 GB, free: 0.7188 MB / 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.007378/0.8712, allocations: 4.041 MB / 0.9037 GB, free: 12.4 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002497/0.8737, allocations: 0.9748 MB / 0.9046 GB, free: 11.42 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.8753, allocations: 0.6591 MB / 0.9052 GB, free: 10.76 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/0.8765, allocations: 0.6048 MB / 0.9058 GB, free: 10.04 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.8766, allocations: 47.2 kB / 0.9059 GB, free: 9.988 MB / 0.67 GB Notification: Performance of pre-optimization done (n=76): time 2.475e-06/0.8766, allocations: 4 kB / 0.9059 GB, free: 9.984 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.005067/0.8816, allocations: 1.777 MB / 0.9076 GB, free: 8.199 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.8817, allocations: 68 kB / 0.9077 GB, free: 8.121 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.8831, allocations: 0.8154 MB / 0.9085 GB, free: 7.281 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/0.8832, allocations: 49.64 kB / 0.9085 GB, free: 7.227 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003751/0.8836, allocations: 440.5 kB / 0.909 GB, free: 6.789 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.8839, allocations: 264.1 kB / 0.9092 GB, free: 6.527 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003061/0.8842, allocations: 150.5 kB / 0.9093 GB, free: 6.371 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.8843, allocations: 337.9 kB / 0.9097 GB, free: 6.035 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/0.8858, allocations: 0.5356 MB / 0.9102 GB, free: 5.496 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.8873, allocations: 0.6551 MB / 0.9108 GB, free: 4.809 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002895/0.8902, allocations: 1.131 MB / 0.9119 GB, free: 3.652 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.8903, allocations: 4 kB / 0.9119 GB, free: 3.648 MB / 0.67 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003473/0.8937, allocations: 1.341 MB / 0.9132 GB, free: 2.293 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/0.8938, allocations: 33.7 kB / 0.9133 GB, free: 2.254 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.8938, allocations: 4 kB / 0.9133 GB, free: 2.25 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.8938, allocations: 4 kB / 0.9133 GB, free: 2.246 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.8954, allocations: 250.4 kB / 0.9135 GB, free: 2.004 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007634/0.8962, allocations: 1.199 MB / 0.9147 GB, free: 0.7578 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.8974, allocations: 143.4 kB / 0.9148 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.592e-05/0.8975, allocations: 35.98 kB / 0.9149 GB, free: 0.582 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001807/0.8993, allocations: 0.7556 MB / 0.9156 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001491/0.9008, allocations: 0.652 MB / 0.9162 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002807/0.9036, allocations: 1.123 MB / 0.9173 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.256e-06/0.9036, allocations: 3.938 kB / 0.9173 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003393/0.907, allocations: 1.333 MB / 0.9186 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/0.9071, allocations: 37.64 kB / 0.9187 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.9071, allocations: 3.938 kB / 0.9187 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.9071, allocations: 4 kB / 0.9187 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.9083, allocations: 235.7 kB / 0.9189 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.9083, allocations: 4 kB / 0.9189 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.9095, allocations: 131.4 kB / 0.919 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-05/0.9096, allocations: 39.97 kB / 0.9191 GB, free: 12.19 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.0003134/0.9099, allocations: 220.1 kB / 0.9193 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002821/0.9102, allocations: 110.6 kB / 0.9194 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003576/0.9137, allocations: 1.341 MB / 0.9207 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.9138, allocations: 8 kB / 0.9207 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.9138, allocations: 0 / 0.9207 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.9138, allocations: 3.984 kB / 0.9207 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005453/0.9193, allocations: 2.832 MB / 0.9235 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.9193, allocations: 4 kB / 0.9235 GB, free: 7.559 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.9205, allocations: 239.6 kB / 0.9237 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.304e-05/0.9206, allocations: 4 kB / 0.9237 GB, free: 7.32 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.826e-05/0.9206, allocations: 27.92 kB / 0.9237 GB, free: 7.293 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000613/0.9213, allocations: 1.195 MB / 0.9249 GB, free: 6.051 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.9213, allocations: 4 kB / 0.9249 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003262/0.9245, allocations: 1.447 MB / 0.9263 GB, free: 4.535 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005475/0.9251, allocations: 315.6 kB / 0.9266 GB, free: 4.207 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/0.9253, allocations: 16 kB / 0.9266 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.9264, allocations: 115.8 kB / 0.9268 GB, free: 4.078 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.9266, allocations: 52.44 kB / 0.9268 GB, free: 4.023 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.933e-05/0.9267, allocations: 35.97 kB / 0.9268 GB, free: 3.988 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007797/0.9275, allocations: 0.5739 MB / 0.9274 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9275, allocations: 0 / 0.9274 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001395/0.9289, allocations: 0.5341 MB / 0.9279 GB, free: 2.867 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.0006718/0.9295, allocations: 273.4 kB / 0.9282 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005388/0.9349, allocations: 2.022 MB / 0.9302 GB, free: 0.5625 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.935, allocations: 0 / 0.9302 GB, free: 0.5625 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001733/0.9367, allocations: 0.6638 MB / 0.9308 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/0.9392, allocations: 0.4902 MB / 0.9313 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0045/0.9438, allocations: 2.115 MB / 0.9334 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008158/0.9446, allocations: 1.091 MB / 0.9344 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005041/0.9451, allocations: 99.39 kB / 0.9345 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of SimCode: time 6.71e-07/0.9451, allocations: 4 kB / 0.9345 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of Templates: time 0.03383/0.979, allocations: 26.83 MB / 0.9607 GB, free: 1.297 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)