Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.Validation.PowerExact.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Movers.Validation.PowerExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Validation.PowerExact") translateModel(IBPSA.Fluid.Movers.Validation.PowerExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Validation.PowerExact") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5336/0.5336, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 349.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 109 kB / 420 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 48.06 kB / 0.4891 GB, free: 7.703 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3507, allocations: 70.06 MB / 0.5575 GB, free: 44.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.PowerExact): time 0.05743/0.4081, allocations: 73.84 MB / 0.6296 GB, free: 3.121 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.03395/0.4421, allocations: 23.64 MB / 0.6527 GB, free: 11.43 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005574/0.4477, allocations: 107.4 kB / 0.6528 GB, free: 11.32 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005536/0.4533, allocations: 1.421 MB / 0.6542 GB, free: 9.895 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01168/0.465, allocations: 3.582 MB / 0.6577 GB, free: 6.301 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008054/0.4732, allocations: 2.749 MB / 0.6604 GB, free: 3.57 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.01491/0.4881, allocations: 11.34 MB / 0.6714 GB, free: 8.207 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005149/0.4933, allocations: 2.581 MB / 0.6739 GB, free: 5.566 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007338/0.5007, allocations: 2.774 MB / 0.6767 GB, free: 2.781 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005451/0.5062, allocations: 2.891 MB / 0.6795 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.001324/0.5075, allocations: 212 kB / 0.6797 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006092/0.5136, allocations: 2.113 MB / 0.6817 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.002598/0.5163, allocations: 1.449 MB / 0.6832 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.006081/0.5224, allocations: 2.215 MB / 0.6853 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.01483/0.5372, allocations: 7.622 MB / 0.6928 GB, free: 2.23 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.5373, allocations: 4 kB / 0.6928 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.805e-06/0.5373, allocations: 0 / 0.6928 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002409/0.5375, allocations: 0 / 0.6928 GB, free: 2.227 MB / 0.4948 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.01859/0.5561, allocations: 5.911 MB / 0.6985 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.5562, allocations: 12.03 kB / 0.6986 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00617/0.5624, allocations: 0.9946 MB / 0.6995 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01544/0.5778, allocations: 6.366 MB / 0.7057 GB, free: 4.777 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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" + IBPSA.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/IBPSA 4.0.0-master/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" + IBPSA.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.000634/0.5785, allocations: 375 kB / 0.7061 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009403/0.5795, allocations: 208 kB / 0.7063 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007438/0.5869, allocations: 2.799 MB / 0.709 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.514e-05/0.587, allocations: 4 kB / 0.709 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004054/0.5874, allocations: 72 kB / 0.7091 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.166e-05/0.5875, allocations: 48 kB / 0.7091 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2924/0.8799, allocations: 2.159 MB / 0.7113 GB, free: 140.6 MB / 0.5105 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.0236/0.9036, allocations: 11.69 MB / 0.7227 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005373/0.909, allocations: 1.745 MB / 0.7244 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002012/0.9111, allocations: 0.9172 MB / 0.7253 GB, free: 132.5 MB / 0.5105 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.00846/0.9196, allocations: 4.638 MB / 0.7298 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.9196, allocations: 49.09 kB / 0.7299 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002022/0.9217, allocations: 215.7 kB / 0.7301 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=87): time 6.362e-06/0.9217, allocations: 0 / 0.7301 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95): time 0.02184/0.9435, allocations: 6.404 MB / 0.7363 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.9436, allocations: 61.5 kB / 0.7364 GB, free: 125 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008138/0.9518, allocations: 5.483 MB / 0.7417 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004616/0.9522, allocations: 57.7 kB / 0.7418 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001528/0.9538, allocations: 1.772 MB / 0.7435 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004893/0.9543, allocations: 338.1 kB / 0.7438 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009578/0.9553, allocations: 443.2 kB / 0.7443 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.9553, allocations: 305.1 kB / 0.7445 GB, free: 117 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002575/0.9579, allocations: 1.581 MB / 0.7461 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002828/0.9608, allocations: 2.364 MB / 0.7484 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005215/0.966, allocations: 3.847 MB / 0.7522 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.12e-05/0.966, allocations: 8 kB / 0.7522 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01061/0.9767, allocations: 4.895 MB / 0.7569 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.9767, allocations: 16.66 kB / 0.757 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.51e-05/0.9768, allocations: 23.98 kB / 0.757 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/0.9784, allocations: 0.8949 MB / 0.7579 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002631/0.981, allocations: 491.2 kB / 0.7583 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006525/0.9876, allocations: 9.047 MB / 0.7672 GB, free: 92.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003809/0.9914, allocations: 234 kB / 0.7674 GB, free: 92.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000515/0.992, allocations: 154.7 kB / 0.7675 GB, free: 92.31 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003785/0.9958, allocations: 2.108 MB / 0.7696 GB, free: 90.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002365/0.9982, allocations: 2.025 MB / 0.7716 GB, free: 87.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004178/1.002, allocations: 3.194 MB / 0.7747 GB, free: 84.33 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.631e-05/1.002, allocations: 4 kB / 0.7747 GB, free: 84.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=231) (initialization_lambda0): time 0.00985/1.012, allocations: 4.158 MB / 0.7787 GB, free: 80.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/1.012, allocations: 17.03 kB / 0.7788 GB, free: 80.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/1.012, allocations: 24.75 kB / 0.7788 GB, free: 80.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001748/1.014, allocations: 0.8169 MB / 0.7796 GB, free: 79.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/1.016, allocations: 439.3 kB / 0.78 GB, free: 78.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01/1.026, allocations: 10.43 MB / 0.7902 GB, free: 67.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003559/1.03, allocations: 213.4 kB / 0.7904 GB, free: 67.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004073/1.03, allocations: 140 kB / 0.7905 GB, free: 67.44 MB / 0.5105 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.0007805/1.031, allocations: 299.6 kB / 0.7908 GB, free: 67.14 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001062/1.032, allocations: 359.3 kB / 0.7912 GB, free: 66.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009436/1.041, allocations: 2.986 MB / 0.7941 GB, free: 63.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.178e-05/1.041, allocations: 16 kB / 0.7941 GB, free: 63.78 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/1.041, allocations: 0 / 0.7941 GB, free: 63.78 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007272/1.049, allocations: 2.645 MB / 0.7967 GB, free: 61.04 MB / 0.5105 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 postOpt removeSimpleEquations (simulation): time 0.01584/1.065, allocations: 5.905 MB / 0.8024 GB, free: 55.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/1.065, allocations: 8.125 kB / 0.8024 GB, free: 55.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/1.066, allocations: 355.4 kB / 0.8028 GB, free: 54.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/1.067, allocations: 491.3 kB / 0.8033 GB, free: 54.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002005/1.068, allocations: 39.97 kB / 0.8033 GB, free: 54.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00333/1.071, allocations: 4.438 MB / 0.8076 GB, free: 49.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.071, allocations: 3.938 kB / 0.8076 GB, free: 49.57 MB / 0.5105 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2314:10-2314:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Error: post-optimization module symbolicJacobian (simulation) failed.