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.001188/0.001188, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001587/0.001586, allocations: 195 kB / 16.25 MB, free: 6.621 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.429/1.429, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4275/0.4275, allocations: 54.92 MB / 324.4 MB, free: 8 kB / 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.001401/0.001401, allocations: 67.91 kB / 394.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1581, allocations: 59.6 MB / 454.5 MB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.8437/1.002, allocations: 211.5 MB / 0.6504 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009573/1.011, allocations: 6.595 MB / 0.6568 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002575/1.014, allocations: 36.97 kB / 0.6569 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00273/1.017, allocations: 0.8411 MB / 0.6577 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00648/1.023, allocations: 2.063 MB / 0.6597 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00451/1.028, allocations: 1.239 MB / 0.6609 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006952/1.035, allocations: 3.388 MB / 0.6642 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00242/1.037, allocations: 1.181 MB / 0.6654 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006221/1.044, allocations: 2.15 MB / 0.6675 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003514/1.047, allocations: 1.248 MB / 0.6687 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004232/1.048, allocations: 149.4 kB / 0.6688 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006124/1.054, allocations: 2.098 MB / 0.6709 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001343/1.055, allocations: 0.5546 MB / 0.6714 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001786/1.057, allocations: 0.8513 MB / 0.6723 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007594/1.064, allocations: 2.85 MB / 0.675 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/1.065, allocations: 0.8438 kB / 0.675 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.948e-06/1.065, allocations: 0 / 0.675 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001686/1.065, allocations: 0.6562 kB / 0.6751 GB, free: 1.051 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.008249/1.073, allocations: 2.073 MB / 0.6771 GB, free: 16.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/1.073, allocations: 10.44 kB / 0.6771 GB, free: 16.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003489/1.077, allocations: 0.5289 MB / 0.6776 GB, free: 16.01 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/1.079, allocations: 1.002 MB / 0.6786 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007771/1.079, allocations: 195.3 kB / 0.6788 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002673/1.08, allocations: 112.4 kB / 0.6789 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004557/1.084, allocations: 1.555 MB / 0.6804 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/1.084, allocations: 0 / 0.6804 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/1.084, allocations: 43.28 kB / 0.6804 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.089e-05/1.084, allocations: 61.56 kB / 0.6805 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004986/1.089, allocations: 1.829 MB / 0.6823 GB, free: 15.56 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.009471/1.099, allocations: 4.97 MB / 0.6871 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003286/1.102, allocations: 1.107 MB / 0.6882 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/1.104, allocations: 0.6571 MB / 0.6889 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007904/1.105, allocations: 259.3 kB / 0.6891 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.263e-05/1.105, allocations: 48.38 kB / 0.6891 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=79): time 3.897e-06/1.105, allocations: 1.062 kB / 0.6891 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=79): time 0.005708/1.111, allocations: 1.948 MB / 0.6911 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/1.111, allocations: 61.28 kB / 0.6911 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/1.113, allocations: 1.011 MB / 0.6921 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002345/1.113, allocations: 44.95 kB / 0.6921 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005492/1.113, allocations: 0.5349 MB / 0.6927 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/1.114, allocations: 273.2 kB / 0.6929 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004521/1.114, allocations: 176.5 kB / 0.6931 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.114, allocations: 338.4 kB / 0.6934 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/1.116, allocations: 0.6034 MB / 0.694 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/1.118, allocations: 0.7546 MB / 0.6947 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003002/1.121, allocations: 1.308 MB / 0.696 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/1.121, allocations: 0 / 0.696 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004209/1.125, allocations: 1.56 MB / 0.6975 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.859e-05/1.125, allocations: 36.89 kB / 0.6976 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/1.125, allocations: 6.5 kB / 0.6976 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.161e-05/1.125, allocations: 10.34 kB / 0.6976 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003806/1.129, allocations: 0.581 MB / 0.6982 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005176/1.134, allocations: 3.425 MB / 0.7015 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/1.137, allocations: 223.8 kB / 0.7017 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002761/1.137, allocations: 39.69 kB / 0.7018 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002322/1.139, allocations: 0.8372 MB / 0.7026 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00167/1.141, allocations: 0.7193 MB / 0.7033 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002946/1.144, allocations: 1.267 MB / 0.7045 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.23e-06/1.144, allocations: 2.719 kB / 0.7045 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.003793/1.148, allocations: 1.499 MB / 0.706 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.52e-05/1.148, allocations: 42.66 kB / 0.706 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.148, allocations: 3.375 kB / 0.706 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/1.148, allocations: 5.719 kB / 0.706 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/1.149, allocations: 286.2 kB / 0.7063 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-05/1.149, allocations: 6.25 kB / 0.7063 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/1.151, allocations: 177.7 kB / 0.7065 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/1.152, allocations: 39.41 kB / 0.7065 GB, free: 7.105 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.0005221/1.152, allocations: 227 kB / 0.7067 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005965/1.153, allocations: 133.9 kB / 0.7069 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003837/1.157, allocations: 1.457 MB / 0.7083 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/1.157, allocations: 11.41 kB / 0.7083 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.157, allocations: 0.75 kB / 0.7083 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/1.157, allocations: 3.984 kB / 0.7083 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006915/1.164, allocations: 2.839 MB / 0.7111 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/1.164, allocations: 4 kB / 0.7111 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003467/1.167, allocations: 0.5356 MB / 0.7116 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.902e-05/1.167, allocations: 7.938 kB / 0.7116 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/1.167, allocations: 29.92 kB / 0.7116 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00485/1.172, allocations: 3.348 MB / 0.7149 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.172, allocations: 4 kB / 0.7149 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004451/1.177, allocations: 1.554 MB / 0.7164 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/1.178, allocations: 351.7 kB / 0.7168 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000477/1.178, allocations: 16.11 kB / 0.7168 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002035/1.18, allocations: 157.4 kB / 0.7169 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/1.181, allocations: 71.61 kB / 0.717 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000203/1.181, allocations: 46.83 kB / 0.717 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001343/1.182, allocations: 0.6977 MB / 0.7177 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/1.182, allocations: 0 / 0.7177 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002874/1.185, allocations: 0.6572 MB / 0.7184 GB, free: 13.88 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.0008533/1.186, allocations: 257.7 kB / 0.7186 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008888/1.195, allocations: 2.631 MB / 0.7212 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/1.195, allocations: 4.375 kB / 0.7212 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006376/1.201, allocations: 1.29 MB / 0.7224 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005108/1.207, allocations: 0.6304 MB / 0.7231 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007118/1.214, allocations: 2.845 MB / 0.7258 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/1.215, allocations: 1.15 MB / 0.727 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002617/1.218, allocations: 417.8 kB / 0.7274 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004793/1.218, allocations: 99.41 kB / 0.7274 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of SimCode: time 1.462e-06/1.218, allocations: 0 / 0.7274 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of Templates: time 0.04959/1.268, allocations: 25.18 MB / 0.752 GB, free: 12.29 MB / 0.5606 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (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)