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.00125/0.00125, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001515/0.001515, allocations: 192.3 kB / 16.13 MB, free: 6.699 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.473/1.473, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3979/0.3979, allocations: 54.94 MB / 324.3 MB, free: 212 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.00175/0.00175, allocations: 64.33 kB / 394.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1599, allocations: 59.59 MB / 454.3 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.8942/1.054, allocations: 212 MB / 0.6507 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01027/1.064, allocations: 6.732 MB / 0.6573 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002819/1.067, allocations: 39.22 kB / 0.6573 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002771/1.07, allocations: 0.8078 MB / 0.6581 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006151/1.076, allocations: 2.065 MB / 0.6601 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003821/1.08, allocations: 1.222 MB / 0.6613 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006914/1.087, allocations: 4.597 MB / 0.6658 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002192/1.089, allocations: 1.012 MB / 0.6668 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006796/1.096, allocations: 1.924 MB / 0.6687 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005174/1.101, allocations: 1.206 MB / 0.6698 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007741/1.102, allocations: 75.34 kB / 0.6699 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006977/1.109, allocations: 2.212 MB / 0.6721 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001577/1.111, allocations: 483.6 kB / 0.6725 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002713/1.113, allocations: 0.7771 MB / 0.6733 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008128/1.122, allocations: 2.783 MB / 0.676 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/1.122, allocations: 0.7031 kB / 0.676 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.883e-06/1.122, allocations: 0 / 0.676 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.134e-05/1.122, allocations: 1.375 kB / 0.676 GB, free: 0.9688 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.007569/1.129, allocations: 2.074 MB / 0.678 GB, free: 16 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/1.129, allocations: 13.12 kB / 0.6781 GB, free: 16 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003392/1.133, allocations: 0.5249 MB / 0.6786 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/1.135, allocations: 1.003 MB / 0.6795 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007949/1.136, allocations: 197.7 kB / 0.6797 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002561/1.136, allocations: 111.2 kB / 0.6798 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004243/1.14, allocations: 1.557 MB / 0.6814 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/1.14, allocations: 0 / 0.6814 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/1.141, allocations: 46.19 kB / 0.6814 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-05/1.141, allocations: 55.64 kB / 0.6815 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00493/1.146, allocations: 1.832 MB / 0.6832 GB, free: 15.39 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.009957/1.156, allocations: 4.969 MB / 0.6881 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00334/1.159, allocations: 1.102 MB / 0.6892 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/1.161, allocations: 0.6598 MB / 0.6898 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007591/1.161, allocations: 254.9 kB / 0.6901 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/1.161, allocations: 52.25 kB / 0.6901 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=79): time 2.795e-06/1.161, allocations: 0 / 0.6901 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=79): time 0.005838/1.167, allocations: 1.946 MB / 0.692 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/1.167, allocations: 63.5 kB / 0.6921 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/1.169, allocations: 1.009 MB / 0.6931 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001736/1.169, allocations: 45.73 kB / 0.6931 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004532/1.17, allocations: 0.5381 MB / 0.6936 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003161/1.17, allocations: 271 kB / 0.6939 GB, free: 12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003905/1.17, allocations: 172 kB / 0.6941 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001982/1.171, allocations: 342.5 kB / 0.6944 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/1.172, allocations: 0.6058 MB / 0.695 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/1.174, allocations: 0.7534 MB / 0.6957 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003165/1.177, allocations: 1.31 MB / 0.697 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.177, allocations: 0 / 0.697 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004157/1.181, allocations: 1.566 MB / 0.6985 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.057e-05/1.181, allocations: 38.98 kB / 0.6986 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/1.181, allocations: 3.375 kB / 0.6986 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.243e-05/1.182, allocations: 5 kB / 0.6986 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00408/1.186, allocations: 0.5975 MB / 0.6991 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00518/1.191, allocations: 3.168 MB / 0.7022 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/1.193, allocations: 225.1 kB / 0.7025 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/1.193, allocations: 38.45 kB / 0.7025 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002281/1.195, allocations: 0.8308 MB / 0.7033 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001495/1.197, allocations: 0.7292 MB / 0.704 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002841/1.2, allocations: 1.257 MB / 0.7052 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.368e-06/1.2, allocations: 0 / 0.7052 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.003503/1.203, allocations: 1.503 MB / 0.7067 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/1.203, allocations: 35.48 kB / 0.7067 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/1.203, allocations: 6.391 kB / 0.7067 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/1.203, allocations: 11.16 kB / 0.7068 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/1.205, allocations: 285.7 kB / 0.707 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/1.205, allocations: 4.438 kB / 0.707 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/1.206, allocations: 184.8 kB / 0.7072 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.939e-05/1.207, allocations: 41.36 kB / 0.7072 GB, free: 5.902 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.0004041/1.207, allocations: 228 kB / 0.7075 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/1.207, allocations: 130.5 kB / 0.7076 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003801/1.211, allocations: 1.449 MB / 0.709 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/1.211, allocations: 8 kB / 0.709 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.211, allocations: 3.938 kB / 0.709 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/1.211, allocations: 5.109 kB / 0.709 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005579/1.217, allocations: 2.84 MB / 0.7118 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/1.217, allocations: 4.406 kB / 0.7118 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003445/1.22, allocations: 0.5374 MB / 0.7123 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.444e-05/1.22, allocations: 4 kB / 0.7123 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.672e-05/1.22, allocations: 25.73 kB / 0.7124 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004162/1.224, allocations: 3.112 MB / 0.7154 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/1.224, allocations: 7.719 kB / 0.7154 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003882/1.228, allocations: 1.553 MB / 0.7169 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/1.23, allocations: 354.2 kB / 0.7173 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/1.23, allocations: 12.81 kB / 0.7173 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/1.231, allocations: 161.8 kB / 0.7174 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/1.232, allocations: 65.77 kB / 0.7175 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/1.232, allocations: 50.14 kB / 0.7175 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0011/1.233, allocations: 0.695 MB / 0.7182 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/1.233, allocations: 0 / 0.7182 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002075/1.235, allocations: 0.6634 MB / 0.7189 GB, free: 12.11 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.0006509/1.236, allocations: 240.7 kB / 0.7191 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008024/1.244, allocations: 2.527 MB / 0.7216 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.244, allocations: 4 kB / 0.7216 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006084/1.25, allocations: 1.289 MB / 0.7228 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003731/1.253, allocations: 0.646 MB / 0.7234 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005838/1.259, allocations: 2.844 MB / 0.7262 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/1.26, allocations: 1.158 MB / 0.7274 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002502/1.263, allocations: 414 kB / 0.7278 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003795/1.263, allocations: 103.4 kB / 0.7278 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of SimCode: time 2.094e-06/1.263, allocations: 0 / 0.7278 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of Templates: time 0.04092/1.304, allocations: 24.54 MB / 0.7518 GB, free: 11.65 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)