Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.PowerExact.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.Movers.Validation.PowerExact,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_Nrpm.P|pump_dp.P|pump_m_flow.P|pump_Nrpm.per.speed_rpm_nominal|pump_Nrpm.Nrpm",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.PowerExact") translateModel(Buildings.Fluid.Movers.Validation.PowerExact,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_Nrpm.P|pump_dp.P|pump_m_flow.P|pump_Nrpm.per.speed_rpm_nominal|pump_Nrpm.Nrpm",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.PowerExact") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001347/0.001347, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.16/2.16, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 59.91 kB / 0.9516 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6856/0.6868, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump_dp.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump_m_flow.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PowerExact): time 0.07246/0.7593, allocations: 74.37 MB / 1.161 GB, free: 224 kB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0344/0.7937, allocations: 23.61 MB / 1.184 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004412/0.7982, allocations: 115.4 kB / 1.184 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004573/0.8027, allocations: 1.675 MB / 1.186 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.8132, allocations: 4.03 MB / 1.19 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.007648/0.8208, allocations: 3.048 MB / 1.193 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01085/0.8317, allocations: 8.432 MB / 1.201 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004175/0.8359, allocations: 3.037 MB / 1.204 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006524/0.8424, allocations: 3.334 MB / 1.207 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004687/0.8471, allocations: 2.845 MB / 1.21 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0008541/0.848, allocations: 424.3 kB / 1.211 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005541/0.8536, allocations: 2.357 MB / 1.213 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001571/0.8552, allocations: 1.641 MB / 1.215 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.004241/0.8594, allocations: 2.433 MB / 1.217 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.8697, allocations: 7.859 MB / 1.225 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8697, allocations: 0 / 1.225 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.925e-06/0.8697, allocations: 4 kB / 1.225 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.098e-05/0.8698, allocations: 3.938 kB / 1.225 GB, free: 2.699 MB / 0.9512 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.01256/0.8824, allocations: 5.895 MB / 1.23 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.8824, allocations: 12.02 kB / 1.23 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005371/0.8878, allocations: 0.9986 MB / 1.231 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/0.8997, allocations: 6.358 MB / 1.238 GB, free: 5.273 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Fluid/Movers/BaseClasses/FlowMachineInterface.mo:285:5-300: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 9.1.3-maint.9.1.x/Fluid/Movers/BaseClasses/FlowMachineInterface.mo:285:5-300: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.0004501/0.9001, allocations: 380.4 kB / 1.238 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004988/0.9007, allocations: 207.9 kB / 1.238 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005253/0.9059, allocations: 2.79 MB / 1.241 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.664e-05/0.906, allocations: 3.938 kB / 1.241 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/0.9062, allocations: 80 kB / 1.241 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.524e-05/0.9062, allocations: 44 kB / 1.241 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005199/0.9114, allocations: 2.136 MB / 1.243 GB, free: 15.53 MB / 0.9825 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.01789/0.9293, allocations: 11.77 MB / 1.255 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00512/0.9345, allocations: 1.72 MB / 1.256 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002144/0.9366, allocations: 0.928 MB / 1.257 GB, free: 0.5859 MB / 0.9825 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.007765/0.9444, allocations: 4.634 MB / 1.262 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.9445, allocations: 51.56 kB / 1.262 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=84): time 2.916e-06/0.9445, allocations: 3.938 kB / 1.262 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92): time 0.02225/0.9667, allocations: 6.52 MB / 1.268 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.9668, allocations: 60.41 kB / 1.268 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008209/0.975, allocations: 5.523 MB / 1.273 GB, free: 15.32 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002804/0.9753, allocations: 61.7 kB / 1.274 GB, free: 15.26 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00165/0.977, allocations: 1.773 MB / 1.275 GB, free: 13.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004102/0.9774, allocations: 323.3 kB / 1.276 GB, free: 13.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007802/0.9782, allocations: 451.2 kB / 1.276 GB, free: 12.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.253e-05/0.9783, allocations: 305.1 kB / 1.276 GB, free: 12.41 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003005/0.9813, allocations: 1.586 MB / 1.278 GB, free: 10.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003551/0.9849, allocations: 2.375 MB / 1.28 GB, free: 8.082 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006392/0.9913, allocations: 3.865 MB / 1.284 GB, free: 3.922 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/0.9913, allocations: 8 kB / 1.284 GB, free: 3.914 MB / 1.014 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.01209/1.003, allocations: 4.911 MB / 1.289 GB, free: 14.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/1.003, allocations: 18.19 kB / 1.289 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.049e-05/1.003, allocations: 20 kB / 1.289 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001858/1.005, allocations: 0.8997 MB / 1.29 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002781/1.008, allocations: 483.2 kB / 1.29 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008873/1.017, allocations: 9.476 MB / 1.299 GB, free: 3.496 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003551/1.021, allocations: 181.2 kB / 1.3 GB, free: 3.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004933/1.021, allocations: 152 kB / 1.3 GB, free: 3.172 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003847/1.025, allocations: 2.116 MB / 1.302 GB, free: 1.051 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002859/1.028, allocations: 2.04 MB / 1.304 GB, free: 14.65 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004968/1.033, allocations: 3.214 MB / 1.307 GB, free: 11.14 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.298e-05/1.033, allocations: 4 kB / 1.307 GB, free: 11.14 MB / 1.045 GB Notification: Performance of matching and sorting (n=228) (initialization_lambda0): time 0.01029/1.043, allocations: 4.193 MB / 1.311 GB, free: 6.914 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.043, allocations: 12 kB / 1.311 GB, free: 6.902 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/1.043, allocations: 24 kB / 1.311 GB, free: 6.879 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00193/1.045, allocations: 0.8211 MB / 1.312 GB, free: 6.039 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/1.047, allocations: 435.3 kB / 1.312 GB, free: 5.613 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/1.06, allocations: 11.3 MB / 1.323 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003023/1.063, allocations: 165.4 kB / 1.323 GB, free: 9.473 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003783/1.063, allocations: 136 kB / 1.324 GB, free: 9.34 MB / 1.061 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 (187): * Single equations (assignments): 175 * 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.0007005/1.064, allocations: 302.6 kB / 1.324 GB, free: 9.039 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009777/1.065, allocations: 359.3 kB / 1.324 GB, free: 8.684 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00984/1.075, allocations: 2.996 MB / 1.327 GB, free: 5.66 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008039/1.083, allocations: 2.649 MB / 1.33 GB, free: 2.914 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/1.083, allocations: 0 / 1.33 GB, free: 2.914 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001823/1.085, allocations: 0.6641 MB / 1.33 GB, free: 2.227 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008434/1.086, allocations: 20 kB / 1.33 GB, free: 2.207 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002404/1.088, allocations: 135.8 kB / 1.331 GB, free: 2.074 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/1.088, allocations: 88.81 kB / 1.331 GB, free: 1.984 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007741/1.096, allocations: 2.567 MB / 1.333 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007658/1.104, allocations: 3.503 MB / 1.337 GB, free: 11.87 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002115/1.106, allocations: 0.9172 MB / 1.337 GB, free: 10.95 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.005563/1.111, allocations: 3.963 MB / 1.341 GB, free: 6.984 MB / 1.076 GB Notification: Performance of Backend: time 5.71e-07/1.112, allocations: 0 / 1.341 GB, free: 6.984 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01456/1.126, allocations: 5.742 MB / 1.347 GB, free: 1.168 MB / 1.076 GB Notification: Performance of SimCode: time 0.01679/1.143, allocations: 8.621 MB / 1.355 GB, free: 8.535 MB / 1.092 GB Notification: Performance of Templates: time 0.1522/1.295, allocations: 101.5 MB / 1.454 GB, free: 4.059 MB / 1.186 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.PowerExact.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PowerExact.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PowerExact.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PowerExact.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PowerExact.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.PowerExact -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.PowerExact.pipe 2>&1)