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.001047/0.001047, allocations: 113.9 kB / 16.42 MB, free: 6.457 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.001039/0.001039, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7918/0.7918, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 62.34 kB / 0.582 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1443, allocations: 80.2 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5891/0.7334, allocations: 214.2 MB / 0.8695 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01225/0.7457, allocations: 7.03 MB / 0.8764 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/0.7473, allocations: 47.69 kB / 0.8764 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002245/0.7496, allocations: 0.8077 MB / 0.8772 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006642/0.7563, allocations: 2.618 MB / 0.8797 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003065/0.7593, allocations: 1.171 MB / 0.8809 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003928/0.7633, allocations: 2.825 MB / 0.8836 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/0.7651, allocations: 1.095 MB / 0.8847 GB, free: 104 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004398/0.7695, allocations: 2.044 MB / 0.8867 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002496/0.772, allocations: 0.9431 MB / 0.8876 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005295/0.7726, allocations: 116 kB / 0.8877 GB, free: 13 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005839/0.7784, allocations: 2.455 MB / 0.8901 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008251/0.7793, allocations: 430.7 kB / 0.8905 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.7807, allocations: 0.6843 MB / 0.8912 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00533/0.786, allocations: 2.509 MB / 0.8937 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.786, allocations: 0 / 0.8937 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.412e-06/0.786, allocations: 4 kB / 0.8937 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.442e-05/0.7861, allocations: 0 / 0.8937 GB, free: 6.91 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.005479/0.7916, allocations: 1.838 MB / 0.8955 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.7917, allocations: 12.02 kB / 0.8955 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003441/0.7951, allocations: 0.5408 MB / 0.896 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002375/0.7975, allocations: 1.003 MB / 0.897 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-05/0.7976, allocations: 66.61 kB / 0.897 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002502/0.7979, allocations: 88 kB / 0.8971 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003118/0.801, allocations: 1.225 MB / 0.8983 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.801, allocations: 0 / 0.8983 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.8012, allocations: 32 kB / 0.8984 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.069e-05/0.8012, allocations: 45.98 kB / 0.8984 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003966/0.8052, allocations: 1.534 MB / 0.8999 GB, free: 428 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.0072/0.8124, allocations: 4.041 MB / 0.9038 GB, free: 12.1 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002676/0.8151, allocations: 0.9632 MB / 0.9048 GB, free: 11.13 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/0.8167, allocations: 0.6669 MB / 0.9054 GB, free: 10.46 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/0.818, allocations: 0.6125 MB / 0.906 GB, free: 9.738 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.818, allocations: 43.16 kB / 0.9061 GB, free: 9.688 MB / 0.67 GB Notification: Performance of pre-optimization done (n=76): time 3.537e-06/0.818, allocations: 4 kB / 0.9061 GB, free: 9.684 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.005136/0.8232, allocations: 1.777 MB / 0.9078 GB, free: 7.898 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.8232, allocations: 60.06 kB / 0.9079 GB, free: 7.828 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.8244, allocations: 0.827 MB / 0.9087 GB, free: 6.977 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.8245, allocations: 41.7 kB / 0.9087 GB, free: 6.93 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000372/0.8249, allocations: 444.5 kB / 0.9091 GB, free: 6.488 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.8252, allocations: 256.2 kB / 0.9094 GB, free: 6.234 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003683/0.8255, allocations: 158.5 kB / 0.9095 GB, free: 6.07 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.8257, allocations: 334 kB / 0.9099 GB, free: 5.738 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.8272, allocations: 0.5278 MB / 0.9104 GB, free: 5.207 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001674/0.8289, allocations: 0.6598 MB / 0.911 GB, free: 4.512 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003005/0.8319, allocations: 1.135 MB / 0.9121 GB, free: 3.352 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.8319, allocations: 0 / 0.9121 GB, free: 3.352 MB / 0.67 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00365/0.8356, allocations: 1.345 MB / 0.9134 GB, free: 1.992 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/0.8357, allocations: 37.7 kB / 0.9135 GB, free: 1.949 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.8357, allocations: 7.984 kB / 0.9135 GB, free: 1.941 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.8357, allocations: 4 kB / 0.9135 GB, free: 1.938 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.8373, allocations: 253 kB / 0.9137 GB, free: 1.691 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007738/0.8381, allocations: 1.195 MB / 0.9149 GB, free: 460 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.8393, allocations: 143.3 kB / 0.915 GB, free: 316 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.8394, allocations: 31.97 kB / 0.9151 GB, free: 284 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001903/0.8413, allocations: 0.7595 MB / 0.9158 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001601/0.843, allocations: 0.6481 MB / 0.9164 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002858/0.8458, allocations: 1.123 MB / 0.9175 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.939e-06/0.8458, allocations: 4.562 kB / 0.9175 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003713/0.8496, allocations: 1.333 MB / 0.9188 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/0.8496, allocations: 41.64 kB / 0.9189 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.8496, allocations: 0 / 0.9189 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.8497, allocations: 8.062 kB / 0.9189 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.8509, allocations: 227.7 kB / 0.9191 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.851, allocations: 4 kB / 0.9191 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.8522, allocations: 128.4 kB / 0.9192 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.8523, allocations: 39.97 kB / 0.9193 GB, free: 11.89 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.0003481/0.8527, allocations: 224.1 kB / 0.9195 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/0.853, allocations: 110.6 kB / 0.9196 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00369/0.8567, allocations: 1.347 MB / 0.9209 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.8567, allocations: 3.984 kB / 0.9209 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.8567, allocations: 0 / 0.9209 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006509/0.8574, allocations: 303.5 kB / 0.9212 GB, free: 9.879 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/0.8576, allocations: 16 kB / 0.9212 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.8588, allocations: 99.88 kB / 0.9213 GB, free: 9.766 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.859, allocations: 48.59 kB / 0.9214 GB, free: 9.719 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004086/0.8631, allocations: 1.361 MB / 0.9227 GB, free: 8.344 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004956/0.8681, allocations: 2.094 MB / 0.9247 GB, free: 6.234 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001494/0.8696, allocations: 0.5634 MB / 0.9253 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009382/0.8706, allocations: 0.5661 MB / 0.9258 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of Backend: time 2.104e-06/0.8706, allocations: 0 / 0.9258 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006569/0.8772, allocations: 2.049 MB / 0.9278 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of SimCode: time 0.004885/0.8821, allocations: 2.264 MB / 0.93 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of Templates: time 0.05107/0.9332, allocations: 30.12 MB / 0.9595 GB, free: 2.824 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)