Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PowerExact.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Movers.Validation.PowerExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PowerExact") translateModel(BuildSysPro.IBPSA.Fluid.Movers.Validation.PowerExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PowerExact") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7022/0.7022, allocations: 128.7 MB / 144.5 MB, free: 1.395 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001125/0.001126, allocations: 190.2 kB / 174.2 MB, free: 5.945 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.1 MB / 408.9 MB, free: 9.738 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 102.4 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 57.64 kB / 0.558 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1261, allocations: 75.48 MB / 0.6317 GB, free: 33.06 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Movers.Validation.PowerExact): time 0.06275/0.1889, allocations: 79.1 MB / 0.7089 GB, free: 1.691 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.03601/0.225, allocations: 26.79 MB / 0.7351 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004258/0.2293, allocations: 103.3 kB / 0.7352 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0043/0.2336, allocations: 1.419 MB / 0.7366 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.01039/0.2441, allocations: 3.55 MB / 0.74 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.3656/0.6097, allocations: 2.444 MB / 0.7424 GB, free: 8.176 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.02103/0.6307, allocations: 11.32 MB / 0.7535 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009087/0.6399, allocations: 2.535 MB / 0.7559 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00803/0.6479, allocations: 2.706 MB / 0.7586 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006488/0.6545, allocations: 2.859 MB / 0.7614 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001126/0.6556, allocations: 213.3 kB / 0.7616 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006747/0.6624, allocations: 2.104 MB / 0.7636 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002202/0.6646, allocations: 1.437 MB / 0.765 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.004671/0.6693, allocations: 2.174 MB / 0.7672 GB, free: 6.609 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01406/0.6834, allocations: 7.942 MB / 0.7749 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.6835, allocations: 0 / 0.7749 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.414e-06/0.6835, allocations: 0.5312 kB / 0.7749 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002402/0.6837, allocations: 3.938 kB / 0.7749 GB, free: 5.824 MB / 0.5105 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.02047/0.7042, allocations: 5.862 MB / 0.7806 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.7043, allocations: 15.25 kB / 0.7807 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003765/0.708, allocations: 0.7315 MB / 0.7814 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01176/0.7198, allocations: 6.178 MB / 0.7874 GB, free: 1.074 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Movers/BaseClasses/FlowMachineInterface.mo:290:5-305: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 relation of 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 " + BuildSysPro.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 and the simulation stops.", "");. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Movers/BaseClasses/FlowMachineInterface.mo:290:5-305: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 relation of 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 " + BuildSysPro.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 and the simulation stops.", "");. Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000438/0.7203, allocations: 372.7 kB / 0.7878 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005514/0.7209, allocations: 203.8 kB / 0.788 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005133/0.726, allocations: 2.798 MB / 0.7907 GB, free: 92 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.108e-05/0.7261, allocations: 5.938 kB / 0.7907 GB, free: 92 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/0.7263, allocations: 70.81 kB / 0.7908 GB, free: 92 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.052e-05/0.7263, allocations: 44.78 kB / 0.7908 GB, free: 92 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004888/0.7312, allocations: 2.12 MB / 0.7929 GB, free: 15.75 MB / 0.5261 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.01835/0.7496, allocations: 11.41 MB / 0.804 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004413/0.754, allocations: 1.617 MB / 0.8056 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/0.7557, allocations: 0.7953 MB / 0.8064 GB, free: 8.598 MB / 0.5261 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.008003/0.7637, allocations: 4.275 MB / 0.8105 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.7638, allocations: 41.19 kB / 0.8106 GB, free: 5.074 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001681/0.7655, allocations: 211.5 kB / 0.8108 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=83): time 5.48e-06/0.7655, allocations: 0 / 0.8108 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of matching and sorting (n=91): time 0.02206/0.7876, allocations: 6.238 MB / 0.8169 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.7876, allocations: 64.39 kB / 0.8169 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01017/0.7978, allocations: 5.459 MB / 0.8223 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004783/0.7983, allocations: 57.06 kB / 0.8223 GB, free: 9.34 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002003/0.8003, allocations: 1.762 MB / 0.824 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005991/0.8009, allocations: 323.2 kB / 0.8244 GB, free: 7.262 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00111/0.8021, allocations: 435.7 kB / 0.8248 GB, free: 6.832 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.911e-05/0.8022, allocations: 309.1 kB / 0.8251 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00251/0.8047, allocations: 1.519 MB / 0.8266 GB, free: 5.004 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002974/0.8077, allocations: 2.278 MB / 0.8288 GB, free: 2.395 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005203/0.8129, allocations: 3.739 MB / 0.8324 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.966e-06/0.8129, allocations: 4.562 kB / 0.8324 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01068/0.8236, allocations: 4.795 MB / 0.8371 GB, free: 9.754 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.8237, allocations: 12 kB / 0.8371 GB, free: 9.742 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-05/0.8237, allocations: 24 kB / 0.8372 GB, free: 9.719 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/0.8254, allocations: 0.9226 MB / 0.8381 GB, free: 8.781 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00305/0.8284, allocations: 0.5644 MB / 0.8386 GB, free: 8.242 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/0.8399, allocations: 10.33 MB / 0.8487 GB, free: 13.32 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003806/0.8438, allocations: 199.6 kB / 0.8489 GB, free: 13.12 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004292/0.8442, allocations: 159.9 kB / 0.849 GB, free: 12.96 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004337/0.8486, allocations: 2.003 MB / 0.851 GB, free: 10.96 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002516/0.8511, allocations: 1.903 MB / 0.8528 GB, free: 8.723 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004188/0.8553, allocations: 3.01 MB / 0.8558 GB, free: 5.512 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.304e-05/0.8553, allocations: 4 kB / 0.8558 GB, free: 5.508 MB / 0.573 GB Notification: Performance of matching and sorting (n=229) (initialization_lambda0): time 0.01125/0.8666, allocations: 3.974 MB / 0.8597 GB, free: 1.641 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.8666, allocations: 16 kB / 0.8597 GB, free: 1.625 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.144e-05/0.8667, allocations: 20 kB / 0.8597 GB, free: 1.605 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002033/0.8687, allocations: 0.8164 MB / 0.8605 GB, free: 0.7734 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.8702, allocations: 400.9 kB / 0.8609 GB, free: 416 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/0.8831, allocations: 10.44 MB / 0.8711 GB, free: 5.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003957/0.887, allocations: 168.1 kB / 0.8712 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005184/0.8876, allocations: 140 kB / 0.8714 GB, free: 5.082 MB / 0.5886 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 (188): * Single equations (assignments): 176 * 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.0009136/0.8885, allocations: 296.9 kB / 0.8717 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001347/0.8899, allocations: 355.3 kB / 0.872 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01024/0.9001, allocations: 2.963 MB / 0.8749 GB, free: 1.52 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.436e-05/0.9002, allocations: 16 kB / 0.8749 GB, free: 1.504 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.9002, allocations: 0 / 0.8749 GB, free: 1.504 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00772/0.9079, allocations: 2.623 MB / 0.8775 GB, free: 14.81 MB / 0.6042 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.01659/0.9245, allocations: 5.774 MB / 0.8831 GB, free: 8.988 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.9245, allocations: 3.938 kB / 0.8831 GB, free: 8.984 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00228/0.9268, allocations: 463.7 kB / 0.8836 GB, free: 8.539 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001231/0.9281, allocations: 0.5169 MB / 0.8841 GB, free: 8.016 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/0.9282, allocations: 43.97 kB / 0.8841 GB, free: 7.973 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006787/0.935, allocations: 5.66 MB / 0.8896 GB, free: 2.074 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.935, allocations: 4.062 kB / 0.8896 GB, free: 2.07 MB / 0.6042 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.