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.001261/0.00126, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.465/1.465, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4582/0.4582, allocations: 54.94 MB / 324.7 MB, free: 15.96 MB / 270.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.001792/0.001792, allocations: 63.91 kB / 395.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1566, allocations: 59.6 MB / 454.9 MB, free: 140 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.9137/1.07, allocations: 214.2 MB / 0.6534 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01128/1.082, allocations: 6.623 MB / 0.6599 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002217/1.084, allocations: 43.69 kB / 0.66 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002779/1.087, allocations: 0.945 MB / 0.6609 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006189/1.093, allocations: 2.19 MB / 0.663 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00391/1.097, allocations: 1.351 MB / 0.6643 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005707/1.103, allocations: 3.375 MB / 0.6676 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002347/1.105, allocations: 1.209 MB / 0.6688 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007095/1.112, allocations: 2.147 MB / 0.6709 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004439/1.117, allocations: 1.171 MB / 0.6721 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009542/1.118, allocations: 149.9 kB / 0.6722 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006475/1.124, allocations: 1.995 MB / 0.6741 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001753/1.126, allocations: 0.5501 MB / 0.6747 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00366/1.13, allocations: 0.8599 MB / 0.6755 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01006/1.14, allocations: 2.737 MB / 0.6782 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/1.14, allocations: 0.9062 kB / 0.6782 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.609e-06/1.14, allocations: 0.5625 kB / 0.6782 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001911/1.14, allocations: 0.9688 kB / 0.6782 GB, free: 1.047 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.01282/1.153, allocations: 2.078 MB / 0.6802 GB, free: 16.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 8.336e-05/1.153, allocations: 10.56 kB / 0.6802 GB, free: 16.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004596/1.157, allocations: 0.5289 MB / 0.6807 GB, free: 16.01 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003354/1.161, allocations: 1.002 MB / 0.6817 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007823/1.162, allocations: 206.4 kB / 0.6819 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004945/1.162, allocations: 103.8 kB / 0.682 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005049/1.167, allocations: 1.554 MB / 0.6835 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/1.167, allocations: 0.6875 kB / 0.6835 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002136/1.168, allocations: 49.02 kB / 0.6836 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.252e-05/1.168, allocations: 53.22 kB / 0.6836 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005121/1.173, allocations: 1.836 MB / 0.6854 GB, free: 15.55 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.009537/1.182, allocations: 4.998 MB / 0.6903 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003191/1.186, allocations: 1.113 MB / 0.6914 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/1.187, allocations: 0.656 MB / 0.692 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006897/1.188, allocations: 262.5 kB / 0.6923 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.791e-05/1.188, allocations: 45.38 kB / 0.6923 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=79): time 4.188e-06/1.188, allocations: 0 / 0.6923 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=79): time 0.00599/1.194, allocations: 1.943 MB / 0.6942 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/1.194, allocations: 64.81 kB / 0.6943 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/1.196, allocations: 1.015 MB / 0.6953 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002078/1.196, allocations: 48.83 kB / 0.6953 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004721/1.197, allocations: 0.5333 MB / 0.6959 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002821/1.197, allocations: 271.4 kB / 0.6961 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003604/1.197, allocations: 178.6 kB / 0.6963 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.198, allocations: 338.2 kB / 0.6966 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/1.199, allocations: 0.6027 MB / 0.6972 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/1.201, allocations: 0.7514 MB / 0.6979 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003231/1.204, allocations: 1.311 MB / 0.6992 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/1.204, allocations: 0.625 kB / 0.6992 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004228/1.208, allocations: 1.566 MB / 0.7007 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.83e-05/1.208, allocations: 40.78 kB / 0.7008 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/1.208, allocations: 2.938 kB / 0.7008 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/1.208, allocations: 4.656 kB / 0.7008 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003734/1.212, allocations: 0.5863 MB / 0.7014 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005243/1.217, allocations: 3.418 MB / 0.7047 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002344/1.22, allocations: 184.2 kB / 0.7049 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003115/1.22, allocations: 41.06 kB / 0.7049 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002575/1.223, allocations: 0.8337 MB / 0.7057 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001848/1.225, allocations: 0.7217 MB / 0.7064 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003167/1.228, allocations: 1.263 MB / 0.7077 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.246e-06/1.228, allocations: 2.906 kB / 0.7077 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.004154/1.232, allocations: 1.502 MB / 0.7091 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.239e-05/1.232, allocations: 41.97 kB / 0.7092 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/1.232, allocations: 1 kB / 0.7092 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/1.232, allocations: 7.875 kB / 0.7092 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/1.234, allocations: 286 kB / 0.7095 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/1.234, allocations: 8.766 kB / 0.7095 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/1.235, allocations: 151.1 kB / 0.7096 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/1.235, allocations: 37.2 kB / 0.7096 GB, free: 6.445 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.0004628/1.236, allocations: 234.8 kB / 0.7099 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000544/1.236, allocations: 128.9 kB / 0.71 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004074/1.241, allocations: 1.455 MB / 0.7114 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/1.241, allocations: 8.5 kB / 0.7114 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/1.241, allocations: 0 / 0.7114 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/1.241, allocations: 3.984 kB / 0.7114 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006503/1.247, allocations: 2.838 MB / 0.7142 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/1.247, allocations: 1.125 kB / 0.7142 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003293/1.25, allocations: 0.5345 MB / 0.7147 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.406e-05/1.25, allocations: 11.94 kB / 0.7147 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.277e-05/1.251, allocations: 29.92 kB / 0.7148 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004507/1.255, allocations: 3.352 MB / 0.718 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/1.255, allocations: 7.094 kB / 0.718 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004131/1.259, allocations: 1.549 MB / 0.7195 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/1.261, allocations: 349.3 kB / 0.7199 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005018/1.261, allocations: 21.5 kB / 0.7199 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/1.263, allocations: 126.5 kB / 0.72 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/1.263, allocations: 64.7 kB / 0.7201 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/1.263, allocations: 50.58 kB / 0.7201 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001257/1.264, allocations: 0.6929 MB / 0.7208 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/1.264, allocations: 4 kB / 0.7208 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002579/1.267, allocations: 0.6588 MB / 0.7215 GB, free: 12.3 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.0006762/1.268, allocations: 239.8 kB / 0.7217 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008816/1.277, allocations: 2.633 MB / 0.7243 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/1.277, allocations: 11.25 kB / 0.7243 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00629/1.283, allocations: 1.275 MB / 0.7255 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004448/1.287, allocations: 0.6334 MB / 0.7261 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005875/1.293, allocations: 2.392 MB / 0.7285 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/1.294, allocations: 1.158 MB / 0.7296 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00251/1.297, allocations: 413.8 kB / 0.73 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004554/1.297, allocations: 103.4 kB / 0.7301 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of SimCode: time 5.91e-07/1.297, allocations: 0 / 0.7301 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of Templates: time 0.04543/1.343, allocations: 25.46 MB / 0.755 GB, free: 10.34 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)