Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001241/0.001241, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.009068/0.009069, allocations: 172.2 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4376/0.4376, allocations: 55.01 MB / 325.8 MB, free: 0.5195 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005868/0.0005867, allocations: 12 kB / 397.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3968, allocations: 60.71 MB / 458 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6195/1.016, allocations: 209.2 MB / 0.6516 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01161/1.028, allocations: 6.648 MB / 0.658 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001513/1.03, allocations: 42.22 kB / 0.6581 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002233/1.032, allocations: 0.8084 MB / 0.6589 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006848/1.039, allocations: 2.068 MB / 0.6609 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003585/1.042, allocations: 1.221 MB / 0.6621 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006914/1.049, allocations: 4.599 MB / 0.6666 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001896/1.051, allocations: 0.9856 MB / 0.6675 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005744/1.057, allocations: 1.89 MB / 0.6694 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003448/1.06, allocations: 1.163 MB / 0.6705 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002697/1.061, allocations: 58.78 kB / 0.6706 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005557/1.066, allocations: 2.199 MB / 0.6727 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009767/1.067, allocations: 469.3 kB / 0.6732 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001683/1.069, allocations: 0.7698 MB / 0.6739 GB, free: 17.32 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005891/1.075, allocations: 2.732 MB / 0.6766 GB, free: 17.16 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/1.075, allocations: 0.5 kB / 0.6766 GB, free: 17.16 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.364e-06/1.075, allocations: 2.906 kB / 0.6766 GB, free: 17.16 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.467e-05/1.075, allocations: 0.875 kB / 0.6766 GB, free: 17.16 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.00631/1.081, allocations: 1.769 MB / 0.6783 GB, free: 16.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/1.081, allocations: 9.688 kB / 0.6783 GB, free: 16.23 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003582/1.085, allocations: 0.5775 MB / 0.6789 GB, free: 16.13 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/1.087, allocations: 1.007 MB / 0.6799 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008001/1.088, allocations: 218 kB / 0.6801 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003042/1.088, allocations: 105.5 kB / 0.6802 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004732/1.093, allocations: 1.609 MB / 0.6818 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/1.093, allocations: 0.9062 kB / 0.6818 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/1.093, allocations: 48.88 kB / 0.6818 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.644e-05/1.094, allocations: 56.16 kB / 0.6819 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005238/1.099, allocations: 1.934 MB / 0.6838 GB, free: 15.61 MB / 0.5137 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.01053/1.109, allocations: 5.009 MB / 0.6886 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003328/1.113, allocations: 1.175 MB / 0.6898 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/1.114, allocations: 0.6915 MB / 0.6905 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007352/1.115, allocations: 283.9 kB / 0.6907 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.403e-05/1.115, allocations: 47.91 kB / 0.6908 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=79): time 3.997e-06/1.115, allocations: 0 / 0.6908 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=79): time 0.006199/1.121, allocations: 2.098 MB / 0.6928 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/1.121, allocations: 64.86 kB / 0.6929 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/1.123, allocations: 1.006 MB / 0.6939 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002419/1.123, allocations: 42.42 kB / 0.6939 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004774/1.124, allocations: 0.5394 MB / 0.6944 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003032/1.124, allocations: 277.9 kB / 0.6947 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/1.124, allocations: 73.8 kB / 0.6948 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.124, allocations: 339.5 kB / 0.6951 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/1.126, allocations: 0.6402 MB / 0.6957 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/1.128, allocations: 0.7987 MB / 0.6965 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003546/1.131, allocations: 1.395 MB / 0.6979 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/1.131, allocations: 0.5625 kB / 0.6979 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004329/1.136, allocations: 1.644 MB / 0.6995 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001678/1.136, allocations: 210.4 kB / 0.6997 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.136, allocations: 4.094 kB / 0.6997 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/1.136, allocations: 9.625 kB / 0.6997 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004091/1.14, allocations: 0.7292 MB / 0.7004 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005302/1.145, allocations: 3.345 MB / 0.7037 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/1.147, allocations: 243.3 kB / 0.7039 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002649/1.148, allocations: 40.77 kB / 0.7039 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/1.148, allocations: 2.375 kB / 0.7039 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003866/1.152, allocations: 1.453 MB / 0.7054 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/1.152, allocations: 6.594 kB / 0.7054 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/1.152, allocations: 7.781 kB / 0.7054 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/1.153, allocations: 297.3 kB / 0.7057 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/1.153, allocations: 15.77 kB / 0.7057 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/1.155, allocations: 224.1 kB / 0.7059 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/1.155, allocations: 35.42 kB / 0.7059 GB, free: 6.348 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (104): * Single equations (assignments): 101 * 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.001009/1.156, allocations: 411 kB / 0.7063 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000494/1.157, allocations: 120.7 kB / 0.7064 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004045/1.161, allocations: 1.546 MB / 0.7079 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/1.161, allocations: 6.969 kB / 0.7079 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.161, allocations: 1.859 kB / 0.7079 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/1.161, allocations: 3.984 kB / 0.7079 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006415/1.167, allocations: 2.939 MB / 0.7108 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/1.167, allocations: 6.922 kB / 0.7108 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00361/1.171, allocations: 0.6716 MB / 0.7115 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.601e-05/1.171, allocations: 5.906 kB / 0.7115 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.736e-05/1.171, allocations: 21.98 kB / 0.7115 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004421/1.175, allocations: 3.27 MB / 0.7147 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.175, allocations: 3.109 kB / 0.7147 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004073/1.179, allocations: 1.641 MB / 0.7163 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/1.181, allocations: 344.9 kB / 0.7166 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004135/1.181, allocations: 19.61 kB / 0.7167 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/1.183, allocations: 189.7 kB / 0.7168 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/1.183, allocations: 62.75 kB / 0.7169 GB, free: 432 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/1.183, allocations: 47.77 kB / 0.7169 GB, free: 392 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001183/1.184, allocations: 0.6946 MB / 0.7176 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.91e-07/1.184, allocations: 0 / 0.7176 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00236/1.187, allocations: 0.6539 MB / 0.7183 GB, free: 15.25 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (79): * Single equations (assignments): 77 * 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.0007337/1.188, allocations: 267 kB / 0.7185 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008728/1.196, allocations: 2.784 MB / 0.7212 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/1.196, allocations: 0 / 0.7212 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006554/1.203, allocations: 1.487 MB / 0.7227 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004838/1.208, allocations: 0.6441 MB / 0.7233 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006328/1.214, allocations: 2.904 MB / 0.7261 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008647/1.215, allocations: 1.154 MB / 0.7273 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002372/1.217, allocations: 415.3 kB / 0.7277 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004265/1.218, allocations: 103.3 kB / 0.7278 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of SimCode: time 1.112e-06/1.218, allocations: 0 / 0.7278 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of Templates: time 0.044/1.262, allocations: 24.41 MB / 0.7516 GB, free: 14.5 MB / 0.5606 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: