Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerExact.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.PowerExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerExact") translateModel(Buildings.Fluid.Movers.Validation.PowerExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerExact") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.336/1.336, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000967/0.0009669, allocations: 183.5 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205 MB / 0.5767 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007339/0.0007339, allocations: 98.42 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002816, allocations: 11.64 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1506, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PowerExact): time 0.049/0.1997, allocations: 73.74 MB / 0.9688 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03243/0.2321, allocations: 26.86 MB / 0.995 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002902/0.2351, allocations: 99.31 kB / 0.9951 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003389/0.2385, allocations: 1.415 MB / 0.9965 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007297/0.2458, allocations: 3.557 MB / 0.9999 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005525/0.2513, allocations: 2.672 MB / 1.003 GB, free: 7.477 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0102/0.2615, allocations: 11.2 MB / 1.013 GB, free: 12.26 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003033/0.2646, allocations: 2.452 MB / 1.016 GB, free: 9.742 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004061/0.2686, allocations: 2.68 MB / 1.018 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00303/0.2717, allocations: 2.77 MB / 1.021 GB, free: 4.27 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003925/0.2721, allocations: 184 kB / 1.021 GB, free: 4.09 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003947/0.2761, allocations: 2.07 MB / 1.023 GB, free: 2.016 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001098/0.2772, allocations: 1.382 MB / 1.025 GB, free: 0.6289 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.00193/0.2791, allocations: 2.126 MB / 1.027 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006971/0.2861, allocations: 7.425 MB / 1.034 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2861, allocations: 3.938 kB / 1.034 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.826e-06/0.2861, allocations: 0 / 1.034 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.219e-05/0.2862, allocations: 3.938 kB / 1.034 GB, free: 7.035 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 440 * Number of variables: 440 Notification: Performance of Generate backend data structure: time 0.01036/0.2965, allocations: 5.43 MB / 1.039 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2966, allocations: 8.031 kB / 1.039 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003096/0.2997, allocations: 0.7645 MB / 1.04 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008716/0.3084, allocations: 6.17 MB / 1.046 GB, free: 10.5 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/Movers/BaseClasses/FlowMachineInterface.mo:288:5-303:24:writable] Warning: If-equations are only partially supported. Ignoring algorithm Modelica.Utilities.Streams.print("Warning:========It is recommended that the volume flow rate versus pressure relationof the fan or pump satisfies the minimum decrease condition (per.pressure.dp[i+1]-per.pressure.dp[i])d[i] = ------------------------------------------------- < " + String(-pump_m_flow.eff.kRes, 6, 0, true) + " (per.pressure.V_flow[i+1]-per.pressure.V_flow[i]) is" + Buildings.Fluid.Movers.Validation.PowerExact.pump_m_flow.eff.getArrayAsString(array((pump_m_flow.eff.per.pressure.dp[i + 1] - pump_m_flow.eff.per.pressure.dp[i]) / (pump_m_flow.eff.per.pressure.V_flow[i + 1] - pump_m_flow.eff.per.pressure.V_flow[i]) for i in 1:7), "d", 6, 6) + "Otherwise, a solution to the equations may not exist if the fan or pump speed is reduced.In this situation, the solver will fail due to non-convergence andthe simulation stops.", "");. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/Movers/BaseClasses/FlowMachineInterface.mo:288:5-303:24:writable] Warning: If-equations are only partially supported. Ignoring algorithm Modelica.Utilities.Streams.print("Warning:========It is recommended that the volume flow rate versus pressure relationof the fan or pump satisfies the minimum decrease condition (per.pressure.dp[i+1]-per.pressure.dp[i])d[i] = ------------------------------------------------- < " + String(-pump_dp.eff.kRes, 6, 0, true) + " (per.pressure.V_flow[i+1]-per.pressure.V_flow[i]) is" + Buildings.Fluid.Movers.Validation.PowerExact.pump_dp.eff.getArrayAsString(array((pump_dp.eff.per.pressure.dp[i + 1] - pump_dp.eff.per.pressure.dp[i]) / (pump_dp.eff.per.pressure.V_flow[i + 1] - pump_dp.eff.per.pressure.V_flow[i]) for i in 1:7), "d", 6, 6) + "Otherwise, a solution to the equations may not exist if the fan or pump speed is reduced.In this situation, the solver will fail due to non-convergence andthe simulation stops.", "");. Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003773/0.3088, allocations: 374.1 kB / 1.047 GB, free: 10.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00029/0.3091, allocations: 204 kB / 1.047 GB, free: 9.914 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004168/0.3133, allocations: 2.69 MB / 1.049 GB, free: 7.148 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.907e-05/0.3133, allocations: 0 / 1.049 GB, free: 7.148 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/0.3135, allocations: 75.94 kB / 1.049 GB, free: 7.074 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.964e-05/0.3136, allocations: 51.98 kB / 1.049 GB, free: 7.023 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003922/0.3175, allocations: 1.988 MB / 1.051 GB, free: 5.031 MB / 0.698 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.3298/0.6473, allocations: 11.46 MB / 1.063 GB, free: 143.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003668/0.651, allocations: 1.532 MB / 1.064 GB, free: 143.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001727/0.6527, allocations: 0.8354 MB / 1.065 GB, free: 143.3 MB / 0.698 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 evalFunc (simulation): time 0.007029/0.6597, allocations: 4.512 MB / 1.069 GB, free: 141.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.6598, allocations: 39.88 kB / 1.069 GB, free: 141.6 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001053/0.6609, allocations: 210.8 kB / 1.07 GB, free: 141.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=87): time 2.995e-06/0.6609, allocations: 3.844 kB / 1.07 GB, free: 141.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.01919/0.6801, allocations: 6.032 MB / 1.075 GB, free: 139.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.6801, allocations: 66.06 kB / 1.076 GB, free: 139.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006538/0.6867, allocations: 5.466 MB / 1.081 GB, free: 137.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002707/0.687, allocations: 61.88 kB / 1.081 GB, free: 137.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.688, allocations: 1.751 MB / 1.083 GB, free: 136.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002871/0.6883, allocations: 337.8 kB / 1.083 GB, free: 136.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.6885, allocations: 177.5 kB / 1.083 GB, free: 136.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.264e-05/0.6886, allocations: 306.3 kB / 1.083 GB, free: 135.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001967/0.6905, allocations: 1.49 MB / 1.085 GB, free: 135.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/0.693, allocations: 2.284 MB / 1.087 GB, free: 133.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004865/0.6979, allocations: 3.711 MB / 1.091 GB, free: 131.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/0.6979, allocations: 11.78 kB / 1.091 GB, free: 131.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.008995/0.7069, allocations: 4.741 MB / 1.095 GB, free: 128.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002771/0.7072, allocations: 0.7397 MB / 1.096 GB, free: 127.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.7073, allocations: 20.5 kB / 1.096 GB, free: 127.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/0.7087, allocations: 0.8938 MB / 1.097 GB, free: 127.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00206/0.7108, allocations: 448.9 kB / 1.097 GB, free: 127.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005683/0.7165, allocations: 9.045 MB / 1.106 GB, free: 118.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002672/0.7192, allocations: 209.8 kB / 1.106 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/0.7194, allocations: 157.4 kB / 1.107 GB, free: 118.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.721e-06/0.7194, allocations: 4 kB / 1.107 GB, free: 118.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006922/0.7263, allocations: 3.636 MB / 1.11 GB, free: 114.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.14e-05/0.7264, allocations: 20 kB / 1.11 GB, free: 114.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/0.728, allocations: 0.8156 MB / 1.111 GB, free: 113.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.7293, allocations: 403.4 kB / 1.111 GB, free: 113.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008752/0.7381, allocations: 10.37 MB / 1.121 GB, free: 102.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002586/0.7407, allocations: 173.1 kB / 1.122 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/0.7409, allocations: 133.3 kB / 1.122 GB, free: 102 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 initialization (190): * Single equations (assignments): 178 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 6 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,2), (1,2), (1,2), (1,2), (1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001533/0.7424, allocations: 1.059 MB / 1.123 GB, free: 100.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004224/0.7428, allocations: 362.5 kB / 1.123 GB, free: 100.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006849/0.7497, allocations: 2.814 MB / 1.126 GB, free: 97.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005853/0.7555, allocations: 2.479 MB / 1.128 GB, free: 95.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.7556, allocations: 0 / 1.128 GB, free: 95.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009715/0.7565, allocations: 0.6445 MB / 1.129 GB, free: 94.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003928/0.7569, allocations: 27.94 kB / 1.129 GB, free: 94.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/0.7586, allocations: 159.7 kB / 1.129 GB, free: 94.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.7587, allocations: 88.81 kB / 1.129 GB, free: 94.22 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005216/0.7639, allocations: 2.391 MB / 1.132 GB, free: 91.82 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004616/0.7686, allocations: 3.246 MB / 1.135 GB, free: 88.55 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001324/0.7699, allocations: 0.8392 MB / 1.136 GB, free: 87.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003839/0.7738, allocations: 3.907 MB / 1.139 GB, free: 83.8 MB / 0.698 GB Notification: Performance of Backend: time 4.81e-07/0.7738, allocations: 0 / 1.139 GB, free: 83.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01049/0.7843, allocations: 5.536 MB / 1.145 GB, free: 78.33 MB / 0.698 GB Notification: Performance of SimCode: time 0.01194/0.7962, allocations: 9.617 MB / 1.154 GB, free: 68.71 MB / 0.698 GB Notification: Performance of Templates: time 0.1172/0.9134, allocations: 97.46 MB / 1.249 GB, free: 3.734 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerExact.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerExact.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerExact.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerExact.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerExact.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerExact -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerExact.pipe 2>&1)