Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Movers.Validation.PowerExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Validation.PowerExact") translateModel(IDEAS.Fluid.Movers.Validation.PowerExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001098/0.001098, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.704/0.704, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 403.3 MB, free: 7.113 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 99.77 kB / 484.3 MB, free: 8.723 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 51.92 kB / 0.5618 GB, free: 71.09 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1433, allocations: 80.2 MB / 0.6402 GB, free: 6.816 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.PowerExact): time 0.3901/0.5334, allocations: 73.84 MB / 0.7123 GB, free: 11.84 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0297/0.5632, allocations: 23.65 MB / 0.7354 GB, free: 6.629 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005676/0.5689, allocations: 96.38 kB / 0.7355 GB, free: 6.594 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004743/0.5737, allocations: 1.417 MB / 0.7368 GB, free: 5.852 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01144/0.5851, allocations: 3.576 MB / 0.7403 GB, free: 3.785 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008032/0.5932, allocations: 2.739 MB / 0.743 GB, free: 2.195 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.01492/0.6081, allocations: 11.32 MB / 0.7541 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005993/0.6142, allocations: 2.578 MB / 0.7566 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00712/0.6213, allocations: 2.765 MB / 0.7593 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005964/0.6273, allocations: 2.891 MB / 0.7621 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.001375/0.6287, allocations: 216 kB / 0.7623 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006714/0.6354, allocations: 2.097 MB / 0.7644 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.002236/0.6377, allocations: 1.452 MB / 0.7658 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.004802/0.6425, allocations: 2.207 MB / 0.7679 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.01102/0.6535, allocations: 7.63 MB / 0.7754 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.6536, allocations: 0 / 0.7754 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6536, allocations: 0 / 0.7754 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001665/0.6538, allocations: 0 / 0.7754 GB, free: 9.141 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.01521/0.669, allocations: 5.91 MB / 0.7812 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.669, allocations: 12.03 kB / 0.7812 GB, free: 3.145 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004291/0.6733, allocations: 0.7333 MB / 0.7819 GB, free: 2.406 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01145/0.6848, allocations: 6.245 MB / 0.788 GB, free: 12.08 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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" + IDEAS.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/IDEAS 3.0.0/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" + IDEAS.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.0004253/0.6853, allocations: 379.9 kB / 0.7883 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004067/0.6857, allocations: 203.9 kB / 0.7885 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004491/0.6902, allocations: 2.682 MB / 0.7912 GB, free: 8.727 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.947e-05/0.6903, allocations: 7.938 kB / 0.7912 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.6904, allocations: 72 kB / 0.7912 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.625e-05/0.6905, allocations: 48 kB / 0.7913 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004064/0.6946, allocations: 1.965 MB / 0.7932 GB, free: 6.633 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.0181/0.7127, allocations: 11.47 MB / 0.8044 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003781/0.7165, allocations: 1.526 MB / 0.8059 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/0.7181, allocations: 0.8184 MB / 0.8067 GB, free: 8.262 MB / 0.5417 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.006703/0.7248, allocations: 4.534 MB / 0.8111 GB, free: 3.426 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.7248, allocations: 47.55 kB / 0.8112 GB, free: 3.371 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001086/0.7259, allocations: 210.4 kB / 0.8114 GB, free: 3.164 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=87): time 2.775e-06/0.7259, allocations: 0 / 0.8114 GB, free: 3.164 MB / 0.5417 GB Notification: Performance of matching and sorting (n=95): time 0.0183/0.7442, allocations: 5.966 MB / 0.8172 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.7443, allocations: 64.41 kB / 0.8172 GB, free: 13 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007255/0.7516, allocations: 5.48 MB / 0.8226 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003566/0.752, allocations: 61.7 kB / 0.8227 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00134/0.7533, allocations: 1.766 MB / 0.8244 GB, free: 5.656 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003599/0.7537, allocations: 343.1 kB / 0.8247 GB, free: 5.316 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006231/0.7543, allocations: 443.2 kB / 0.8251 GB, free: 4.875 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.057e-05/0.7544, allocations: 301.1 kB / 0.8254 GB, free: 4.578 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002304/0.7567, allocations: 1.488 MB / 0.8269 GB, free: 3.086 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002873/0.7596, allocations: 2.27 MB / 0.8291 GB, free: 468 kB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004899/0.7645, allocations: 3.681 MB / 0.8327 GB, free: 12.48 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.7645, allocations: 8 kB / 0.8327 GB, free: 12.47 MB / 0.573 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01006/0.7746, allocations: 4.724 MB / 0.8373 GB, free: 7.715 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.7747, allocations: 12.75 kB / 0.8373 GB, free: 7.703 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.113e-05/0.7747, allocations: 27.94 kB / 0.8373 GB, free: 7.676 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001714/0.7764, allocations: 0.8913 MB / 0.8382 GB, free: 6.766 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002165/0.7786, allocations: 443.3 kB / 0.8386 GB, free: 6.332 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008211/0.7868, allocations: 9.055 MB / 0.8475 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003281/0.7901, allocations: 189.1 kB / 0.8477 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003429/0.7905, allocations: 156 kB / 0.8478 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003306/0.7938, allocations: 2.022 MB / 0.8498 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002164/0.796, allocations: 1.926 MB / 0.8517 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003749/0.7997, allocations: 3.034 MB / 0.8546 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.607e-05/0.7998, allocations: 4 kB / 0.8546 GB, free: 4.746 MB / 0.5886 GB Notification: Performance of matching and sorting (n=231) (initialization_lambda0): time 0.00892/0.8087, allocations: 3.987 MB / 0.8585 GB, free: 0.7344 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.8087, allocations: 12.09 kB / 0.8585 GB, free: 0.7227 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.903e-05/0.8088, allocations: 28 kB / 0.8586 GB, free: 0.6953 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001813/0.8106, allocations: 0.8094 MB / 0.8594 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.812, allocations: 403.4 kB / 0.8597 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/0.8234, allocations: 10.43 MB / 0.8699 GB, free: 4.379 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002927/0.8263, allocations: 185.2 kB / 0.8701 GB, free: 4.199 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000302/0.8266, allocations: 140 kB / 0.8702 GB, free: 4.062 MB / 0.6042 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.000677/0.8273, allocations: 295.6 kB / 0.8705 GB, free: 3.766 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/0.8284, allocations: 359.3 kB / 0.8709 GB, free: 3.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008551/0.8369, allocations: 2.789 MB / 0.8736 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.733e-05/0.837, allocations: 19.97 kB / 0.8736 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.837, allocations: 0 / 0.8736 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006617/0.8436, allocations: 2.458 MB / 0.876 GB, free: 14.02 MB / 0.6198 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.01448/0.8581, allocations: 5.66 MB / 0.8815 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.8581, allocations: 4 kB / 0.8815 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/0.8595, allocations: 323.6 kB / 0.8818 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.8606, allocations: 498 kB / 0.8823 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.8607, allocations: 35.97 kB / 0.8824 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003979/0.8647, allocations: 4.426 MB / 0.8867 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.8647, allocations: 12 kB / 0.8867 GB, free: 2.793 MB / 0.6198 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.