Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001439/0.001439, allocations: 114.5 kB / 17.08 MB, free: 6.004 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.001516/0.001516, allocations: 193.8 kB / 18.02 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7477/0.7477, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 62.08 kB / 0.5583 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1654, allocations: 76.18 MB / 0.6327 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6762/0.8417, allocations: 214.2 MB / 0.8419 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01309/0.8549, allocations: 7.052 MB / 0.8488 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002627/0.8575, allocations: 43.38 kB / 0.8488 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002809/0.8605, allocations: 0.7843 MB / 0.8496 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008429/0.8689, allocations: 2.523 MB / 0.852 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003694/0.8726, allocations: 1.172 MB / 0.8532 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0055/0.8781, allocations: 2.826 MB / 0.8559 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002382/0.8806, allocations: 1.079 MB / 0.857 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005652/0.8863, allocations: 1.989 MB / 0.8589 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002708/0.889, allocations: 0.937 MB / 0.8598 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005291/0.8895, allocations: 120 kB / 0.86 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005763/0.8953, allocations: 2.448 MB / 0.8623 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008776/0.8962, allocations: 430.7 kB / 0.8628 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001716/0.898, allocations: 0.6843 MB / 0.8634 GB, free: 148 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006083/0.9041, allocations: 2.489 MB / 0.8659 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.9041, allocations: 4 kB / 0.8659 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9041, allocations: 0 / 0.8659 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.196e-05/0.9042, allocations: 0 / 0.8659 GB, free: 13.64 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.005804/0.91, allocations: 1.844 MB / 0.8677 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.9101, allocations: 8.031 kB / 0.8677 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003239/0.9133, allocations: 0.5446 MB / 0.8682 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002294/0.9157, allocations: 1.003 MB / 0.8692 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.75e-05/0.9158, allocations: 65.98 kB / 0.8692 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002346/0.916, allocations: 80.88 kB / 0.8693 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002942/0.919, allocations: 1.229 MB / 0.8705 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.919, allocations: 0 / 0.8705 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.9191, allocations: 28 kB / 0.8705 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.283e-05/0.9192, allocations: 53.92 kB / 0.8706 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003862/0.9231, allocations: 1.518 MB / 0.8721 GB, free: 7.16 MB / 0.6231 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.007468/0.9306, allocations: 4.037 MB / 0.876 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002477/0.9331, allocations: 0.9811 MB / 0.877 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/0.9346, allocations: 0.6551 MB / 0.8776 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/0.9357, allocations: 0.6087 MB / 0.8782 GB, free: 492 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.9357, allocations: 43.22 kB / 0.8783 GB, free: 440 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 3.236e-06/0.9358, allocations: 0 / 0.8783 GB, free: 440 kB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.005013/0.9408, allocations: 1.789 MB / 0.88 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.9408, allocations: 56.06 kB / 0.8801 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.9424, allocations: 0.8233 MB / 0.8809 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001407/0.9425, allocations: 45.7 kB / 0.8809 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/0.9429, allocations: 444.5 kB / 0.8813 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.9432, allocations: 264.1 kB / 0.8816 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003391/0.9436, allocations: 146.5 kB / 0.8817 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.9437, allocations: 334 kB / 0.882 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.9452, allocations: 0.5278 MB / 0.8826 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.9467, allocations: 0.6472 MB / 0.8832 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002882/0.9496, allocations: 1.111 MB / 0.8843 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.9496, allocations: 0 / 0.8843 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003466/0.9531, allocations: 1.333 MB / 0.8856 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.552e-05/0.9531, allocations: 33.7 kB / 0.8856 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.9532, allocations: 4.062 kB / 0.8856 GB, free: 8.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.9532, allocations: 4 kB / 0.8856 GB, free: 8.746 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.9547, allocations: 250 kB / 0.8858 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000827/0.9555, allocations: 1.199 MB / 0.887 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.9567, allocations: 147.3 kB / 0.8872 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.792e-05/0.9568, allocations: 27.98 kB / 0.8872 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001744/0.9586, allocations: 0.7556 MB / 0.8879 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001483/0.9601, allocations: 0.6394 MB / 0.8885 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002685/0.9628, allocations: 1.107 MB / 0.8896 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.375e-06/0.9628, allocations: 0 / 0.8896 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003283/0.9661, allocations: 1.321 MB / 0.8909 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.206e-05/0.9661, allocations: 37.69 kB / 0.891 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.9661, allocations: 4.062 kB / 0.891 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.9662, allocations: 7.938 kB / 0.891 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.9673, allocations: 227.7 kB / 0.8912 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.9673, allocations: 4 kB / 0.8912 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.9684, allocations: 127.5 kB / 0.8913 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.531e-05/0.9685, allocations: 27.98 kB / 0.8913 GB, free: 2.762 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (83): * Single equations (assignments): 80 * 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.0002977/0.9688, allocations: 220.1 kB / 0.8915 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003396/0.9692, allocations: 114.6 kB / 0.8917 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0035/0.9727, allocations: 1.345 MB / 0.893 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.9727, allocations: 8 kB / 0.893 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.9727, allocations: 4 kB / 0.893 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.9727, allocations: 3.984 kB / 0.893 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005965/0.9787, allocations: 2.847 MB / 0.8958 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.9787, allocations: 4 kB / 0.8958 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/0.9799, allocations: 232.1 kB / 0.896 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/0.98, allocations: 8 kB / 0.896 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.551e-05/0.98, allocations: 35.91 kB / 0.896 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006805/0.9807, allocations: 1.18 MB / 0.8972 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.9808, allocations: 7.938 kB / 0.8972 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003376/0.9841, allocations: 1.455 MB / 0.8986 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006522/0.9848, allocations: 303.6 kB / 0.8989 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/0.9851, allocations: 27.98 kB / 0.8989 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.9863, allocations: 95.89 kB / 0.899 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.9864, allocations: 68.36 kB / 0.8991 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-05/0.9865, allocations: 39.97 kB / 0.8991 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001066/0.9876, allocations: 0.5661 MB / 0.8997 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9876, allocations: 0 / 0.8997 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001797/0.9894, allocations: 0.5341 MB / 0.9002 GB, free: 9.43 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (76): * Single equations (assignments): 74 * 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.0007095/0.9901, allocations: 280.1 kB / 0.9005 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00543/0.9956, allocations: 2.002 MB / 0.9024 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.9956, allocations: 0 / 0.9024 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001698/0.9973, allocations: 0.6636 MB / 0.9031 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/0.9998, allocations: 0.4955 MB / 0.9036 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004677/1.005, allocations: 2.127 MB / 0.9056 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008273/1.005, allocations: 1.087 MB / 0.9067 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004889/1.006, allocations: 103.4 kB / 0.9068 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of SimCode: time 1.543e-06/1.006, allocations: 0 / 0.9068 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of Templates: time 0.03775/1.044, allocations: 26.72 MB / 0.9329 GB, free: 7.93 MB / 0.6856 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)