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.006861/0.006861, allocations: 100.5 kB / 15.73 MB, free: 5.988 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.001281/0.001281, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.681/1.681, allocations: 205.1 MB / 222.5 MB, free: 4.383 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4126/0.4126, allocations: 54.95 MB / 324.9 MB, free: 72 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.001497/0.001497, allocations: 68.39 kB / 456.2 MB, free: 38.13 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1764, allocations: 59.6 MB / 0.5037 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.7776/0.9541, allocations: 214.2 MB / 0.7129 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01232/0.9664, allocations: 6.637 MB / 0.7194 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003687/0.9702, allocations: 41.59 kB / 0.7195 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003952/0.9742, allocations: 0.9794 MB / 0.7204 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008674/0.9829, allocations: 2.284 MB / 0.7227 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004596/0.9875, allocations: 1.364 MB / 0.724 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006202/0.9938, allocations: 3.371 MB / 0.7273 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002102/0.9959, allocations: 1.208 MB / 0.7285 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006334/1.002, allocations: 2.259 MB / 0.7307 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003835/1.006, allocations: 1.167 MB / 0.7318 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008012/1.007, allocations: 148.6 kB / 0.7319 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006642/1.014, allocations: 1.998 MB / 0.7339 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001417/1.015, allocations: 0.5559 MB / 0.7344 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002667/1.018, allocations: 0.855 MB / 0.7353 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007091/1.025, allocations: 2.772 MB / 0.738 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/1.025, allocations: 0 / 0.738 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.995e-06/1.025, allocations: 0 / 0.738 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001211/1.025, allocations: 0 / 0.738 GB, free: 0.832 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.009318/1.034, allocations: 2.066 MB / 0.74 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.494e-05/1.034, allocations: 11.97 kB / 0.74 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003442/1.038, allocations: 0.5329 MB / 0.7405 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002715/1.041, allocations: 1.054 MB / 0.7416 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/1.041, allocations: 80.84 kB / 0.7416 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003215/1.041, allocations: 112 kB / 0.7417 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004288/1.045, allocations: 1.552 MB / 0.7433 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/1.046, allocations: 0 / 0.7433 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/1.046, allocations: 44 kB / 0.7433 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-05/1.046, allocations: 58.16 kB / 0.7434 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004944/1.051, allocations: 1.82 MB / 0.7451 GB, free: 9.402 MB / 0.5294 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.01085/1.062, allocations: 4.946 MB / 0.75 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003449/1.065, allocations: 1.072 MB / 0.751 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001765/1.067, allocations: 0.6513 MB / 0.7516 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000748/1.068, allocations: 254 kB / 0.7519 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.62e-05/1.068, allocations: 47.22 kB / 0.7519 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=79): time 3.617e-06/1.068, allocations: 4 kB / 0.7519 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of matching and sorting (n=79): time 0.006248/1.074, allocations: 1.91 MB / 0.7538 GB, free: 164 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/1.074, allocations: 60.06 kB / 0.7539 GB, free: 92 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/1.076, allocations: 1.01 MB / 0.7548 GB, free: 15.06 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002041/1.076, allocations: 45.7 kB / 0.7549 GB, free: 15.01 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00058/1.077, allocations: 0.5398 MB / 0.7554 GB, free: 14.47 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003429/1.077, allocations: 273.2 kB / 0.7557 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004348/1.078, allocations: 174.5 kB / 0.7558 GB, free: 14.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001765/1.078, allocations: 345.9 kB / 0.7562 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/1.079, allocations: 0.5941 MB / 0.7568 GB, free: 13.08 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/1.081, allocations: 0.7441 MB / 0.7575 GB, free: 12.28 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003374/1.085, allocations: 1.299 MB / 0.7587 GB, free: 10.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/1.085, allocations: 0 / 0.7587 GB, free: 10.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004249/1.089, allocations: 1.536 MB / 0.7602 GB, free: 9.395 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.731e-05/1.089, allocations: 37.7 kB / 0.7603 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/1.089, allocations: 4 kB / 0.7603 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/1.089, allocations: 7.938 kB / 0.7603 GB, free: 9.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003821/1.093, allocations: 0.589 MB / 0.7609 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00548/1.098, allocations: 3.41 MB / 0.7642 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/1.1, allocations: 182.9 kB / 0.7644 GB, free: 4.887 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/1.1, allocations: 35.97 kB / 0.7644 GB, free: 4.852 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002393/1.103, allocations: 0.8335 MB / 0.7652 GB, free: 4.016 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001744/1.105, allocations: 0.7129 MB / 0.7659 GB, free: 3.242 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003182/1.108, allocations: 1.24 MB / 0.7671 GB, free: 1.961 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.23e-06/1.108, allocations: 0 / 0.7671 GB, free: 1.961 MB / 0.545 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.003942/1.112, allocations: 1.491 MB / 0.7686 GB, free: 468 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.04e-05/1.112, allocations: 41.69 kB / 0.7686 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/1.112, allocations: 0 / 0.7686 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/1.112, allocations: 8 kB / 0.7686 GB, free: 412 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/1.113, allocations: 279.7 kB / 0.7689 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.19e-05/1.113, allocations: 9.172 kB / 0.7689 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/1.115, allocations: 139.6 kB / 0.769 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/1.115, allocations: 31.94 kB / 0.7691 GB, free: 15.96 MB / 0.5606 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.0004271/1.115, allocations: 240 kB / 0.7693 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004348/1.116, allocations: 118.6 kB / 0.7694 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004045/1.12, allocations: 1.431 MB / 0.7708 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/1.12, allocations: 8 kB / 0.7708 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/1.12, allocations: 0 / 0.7708 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/1.12, allocations: 3.984 kB / 0.7708 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006406/1.126, allocations: 2.828 MB / 0.7736 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/1.126, allocations: 4 kB / 0.7736 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003299/1.13, allocations: 0.5309 MB / 0.7741 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.036e-05/1.13, allocations: 8 kB / 0.7741 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.4e-05/1.13, allocations: 23.98 kB / 0.7741 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004546/1.134, allocations: 3.355 MB / 0.7774 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.134, allocations: 4 kB / 0.7774 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003976/1.138, allocations: 1.527 MB / 0.7789 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009264/1.139, allocations: 351.3 kB / 0.7792 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003619/1.14, allocations: 16 kB / 0.7793 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/1.141, allocations: 115.9 kB / 0.7794 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/1.142, allocations: 68.36 kB / 0.7794 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/1.142, allocations: 47.95 kB / 0.7795 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001423/1.143, allocations: 0.6949 MB / 0.7802 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.51e-07/1.143, allocations: 0 / 0.7802 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002378/1.146, allocations: 0.6666 MB / 0.7808 GB, free: 3.469 MB / 0.5606 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.000804/1.146, allocations: 246.6 kB / 0.781 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008193/1.155, allocations: 2.51 MB / 0.7835 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/1.155, allocations: 7.938 kB / 0.7835 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005928/1.161, allocations: 1.274 MB / 0.7848 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004532/1.165, allocations: 0.6319 MB / 0.7854 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006953/1.172, allocations: 2.32 MB / 0.7876 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/1.173, allocations: 1.158 MB / 0.7888 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002249/1.176, allocations: 413.1 kB / 0.7892 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005269/1.176, allocations: 99.41 kB / 0.7893 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of SimCode: time 1.332e-06/1.176, allocations: 0 / 0.7893 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of Templates: time 0.05028/1.226, allocations: 25.64 MB / 0.8143 GB, free: 1.246 MB / 0.5919 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)