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.001316/0.001316, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001557/0.001557, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.4 MB / 222.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4336/0.4336, allocations: 54.97 MB / 325.3 MB, free: 0.6719 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.0005407/0.0005409, allocations: 16 kB / 396.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3017, allocations: 60.72 MB / 457.3 MB, free: 38.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.2031/0.5048, allocations: 176.7 MB / 0.6191 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.5151, allocations: 6.625 MB / 0.6256 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.5164, allocations: 31.75 kB / 0.6256 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002363/0.5188, allocations: 0.7195 MB / 0.6263 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005929/0.5248, allocations: 1.835 MB / 0.6281 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00334/0.5281, allocations: 1.033 MB / 0.6291 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003919/0.532, allocations: 1.886 MB / 0.631 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001741/0.5338, allocations: 0.9318 MB / 0.6319 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004297/0.5381, allocations: 1.515 MB / 0.6333 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/0.54, allocations: 0.7979 MB / 0.6341 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002138/0.5402, allocations: 60 kB / 0.6342 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00266/0.5429, allocations: 1.053 MB / 0.6352 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005356/0.5434, allocations: 422.8 kB / 0.6356 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005102/0.544, allocations: 337 kB / 0.6359 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002512/0.5465, allocations: 1.864 MB / 0.6377 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5465, allocations: 0 / 0.6377 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.404e-06/0.5465, allocations: 0 / 0.6377 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.861e-05/0.5466, allocations: 0 / 0.6377 GB, free: 3.461 MB / 0.4981 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.005/0.5516, allocations: 1.748 MB / 0.6395 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.5516, allocations: 12.03 kB / 0.6395 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003117/0.5547, allocations: 0.5836 MB / 0.64 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/0.5567, allocations: 0.9687 MB / 0.641 GB, free: 44 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.227/0.7837, allocations: 214.5 kB / 0.6412 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000387/0.7841, allocations: 108.2 kB / 0.6413 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003569/0.7877, allocations: 1.602 MB / 0.6429 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.7877, allocations: 0 / 0.6429 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.7879, allocations: 43.91 kB / 0.6429 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.138e-05/0.7879, allocations: 55.73 kB / 0.643 GB, free: 160.8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004233/0.7922, allocations: 1.916 MB / 0.6448 GB, free: 160.8 MB / 0.4981 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.007367/0.7996, allocations: 5.009 MB / 0.6497 GB, free: 158.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003156/0.8028, allocations: 1.219 MB / 0.6509 GB, free: 158.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006867/0.8035, allocations: 275.2 kB / 0.6512 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.8035, allocations: 48.28 kB / 0.6512 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=79): time 3.597e-06/0.8035, allocations: 3.812 kB / 0.6512 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=79): time 0.005393/0.8089, allocations: 2.086 MB / 0.6533 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.809, allocations: 61 kB / 0.6533 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.8101, allocations: 0.996 MB / 0.6543 GB, free: 157.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001518/0.8102, allocations: 50.67 kB / 0.6543 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.8106, allocations: 0.5401 MB / 0.6549 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.8108, allocations: 273.5 kB / 0.6551 GB, free: 156.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/0.8109, allocations: 18.97 kB / 0.6551 GB, free: 156.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.788e-05/0.811, allocations: 335.4 kB / 0.6555 GB, free: 156.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.8124, allocations: 0.6352 MB / 0.6561 GB, free: 156 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.8139, allocations: 0.7944 MB / 0.6569 GB, free: 155.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.8154, allocations: 0.7028 MB / 0.6575 GB, free: 155.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.8154, allocations: 0 / 0.6575 GB, free: 155.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003461/0.8188, allocations: 1.634 MB / 0.6591 GB, free: 154.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000201/0.8191, allocations: 1.089 MB / 0.6602 GB, free: 153.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.8191, allocations: 6.969 kB / 0.6602 GB, free: 153.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.8191, allocations: 7 kB / 0.6602 GB, free: 153.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003662/0.8228, allocations: 0.7267 MB / 0.6609 GB, free: 153.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004101/0.8269, allocations: 3.392 MB / 0.6642 GB, free: 150.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.8286, allocations: 243.7 kB / 0.6645 GB, free: 150.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.8288, allocations: 44.14 kB / 0.6645 GB, free: 150.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.8288, allocations: 3.281 kB / 0.6645 GB, free: 150.6 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003273/0.8321, allocations: 1.447 MB / 0.6659 GB, free: 150.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.8321, allocations: 2.719 kB / 0.6659 GB, free: 150.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.8321, allocations: 9.234 kB / 0.6659 GB, free: 150.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.8335, allocations: 302.8 kB / 0.6662 GB, free: 150.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.8335, allocations: 10.94 kB / 0.6662 GB, free: 150.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.8349, allocations: 231.7 kB / 0.6665 GB, free: 150.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.369e-05/0.835, allocations: 32.36 kB / 0.6665 GB, free: 150.1 MB / 0.4981 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.i1_w,hex.i2_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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007463/0.8357, allocations: 412.8 kB / 0.6669 GB, free: 149.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/0.836, allocations: 120.4 kB / 0.667 GB, free: 149.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003639/0.8396, allocations: 1.541 MB / 0.6685 GB, free: 149.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.8397, allocations: 7.656 kB / 0.6685 GB, free: 149.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.8397, allocations: 0 / 0.6685 GB, free: 149.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.699e-06/0.8397, allocations: 12.78 kB / 0.6685 GB, free: 149.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005403/0.8451, allocations: 2.925 MB / 0.6714 GB, free: 147.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.8451, allocations: 4.688 kB / 0.6714 GB, free: 147.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003334/0.8485, allocations: 0.6673 MB / 0.672 GB, free: 147.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.8485, allocations: 6.344 kB / 0.672 GB, free: 147.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.029e-05/0.8486, allocations: 29.08 kB / 0.6721 GB, free: 147.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003709/0.8523, allocations: 3.318 MB / 0.6753 GB, free: 145 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.8523, allocations: 3.625 kB / 0.6753 GB, free: 145 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003824/0.8561, allocations: 1.794 MB / 0.6771 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007909/0.8569, allocations: 352.1 kB / 0.6774 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/0.8572, allocations: 21.28 kB / 0.6774 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/0.8586, allocations: 174.1 kB / 0.6776 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.8588, allocations: 67.91 kB / 0.6777 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.8589, allocations: 49.23 kB / 0.6777 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009954/0.8599, allocations: 0.6829 MB / 0.6784 GB, free: 143.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8599, allocations: 1.812 kB / 0.6784 GB, free: 143.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001888/0.8618, allocations: 0.6632 MB / 0.679 GB, free: 143.4 MB / 0.4981 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005198/0.8623, allocations: 242.7 kB / 0.6792 GB, free: 143.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008125/0.8705, allocations: 2.773 MB / 0.682 GB, free: 142.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/0.8705, allocations: 6.062 kB / 0.682 GB, free: 142.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006506/0.877, allocations: 1.479 MB / 0.6834 GB, free: 142.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003352/0.8804, allocations: 0.6413 MB / 0.684 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004859/0.8853, allocations: 2.79 MB / 0.6868 GB, free: 140.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000721/0.886, allocations: 1.184 MB / 0.6879 GB, free: 139.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002119/0.8882, allocations: 412 kB / 0.6883 GB, free: 139.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/0.8885, allocations: 100.8 kB / 0.6884 GB, free: 139.7 MB / 0.4981 GB Notification: Performance of SimCode: time 8.01e-07/0.8885, allocations: 0 / 0.6884 GB, free: 139.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.03462/0.9231, allocations: 23.64 MB / 0.7115 GB, free: 122.6 MB / 0.4981 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: