Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Movers.Validation.PowerExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.PowerExact") translateModel(IDEAS.Fluid.Movers.Validation.PowerExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001101/0.001101, 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-master/package.mo): time 0.6881/0.6881, allocations: 133.3 MB / 150.1 MB, free: 11.16 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.693/1.693, allocations: 222.9 MB / 404.7 MB, free: 6.043 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.001413/0.001413, allocations: 95.42 kB / 485.9 MB, free: 7.188 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009855/0.0009855, allocations: 55.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1299, allocations: 80.43 MB / 0.6421 GB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.PowerExact): time 0.3971/0.527, allocations: 73.84 MB / 0.7142 GB, free: 11.75 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.03288/0.56, allocations: 23.65 MB / 0.7373 GB, free: 4.961 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006223/0.5662, allocations: 100.2 kB / 0.7374 GB, free: 4.922 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005273/0.5716, allocations: 1.412 MB / 0.7388 GB, free: 4.184 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01472/0.5863, allocations: 3.575 MB / 0.7423 GB, free: 2.121 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008994/0.5953, allocations: 2.742 MB / 0.745 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.01678/0.6121, allocations: 11.31 MB / 0.756 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005943/0.6181, allocations: 2.572 MB / 0.7585 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007311/0.6255, allocations: 2.774 MB / 0.7612 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005907/0.6314, allocations: 2.885 MB / 0.7641 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.001483/0.6329, allocations: 216 kB / 0.7643 GB, free: 4.52 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007034/0.64, allocations: 2.101 MB / 0.7663 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.002579/0.6426, allocations: 1.464 MB / 0.7678 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.005246/0.6479, allocations: 2.2 MB / 0.7699 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0123/0.6602, allocations: 7.626 MB / 0.7773 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.6602, allocations: 0 / 0.7773 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6602, allocations: 0 / 0.7773 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002346/0.6605, allocations: 0 / 0.7773 GB, free: 7.086 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.018/0.6785, allocations: 5.912 MB / 0.7831 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.6785, allocations: 12.03 kB / 0.7831 GB, free: 1.086 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004215/0.6828, allocations: 0.7333 MB / 0.7838 GB, free: 356 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01287/0.6957, allocations: 6.245 MB / 0.7899 GB, free: 10.02 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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" + 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-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" + 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.0005542/0.6963, allocations: 379 kB / 0.7903 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007693/0.697, allocations: 207.9 kB / 0.7905 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006252/0.7033, allocations: 2.686 MB / 0.7931 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.807e-05/0.7034, allocations: 3.938 kB / 0.7931 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000362/0.7038, allocations: 72 kB / 0.7932 GB, free: 6.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.372e-05/0.7038, allocations: 44 kB / 0.7932 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004911/0.7087, allocations: 1.972 MB / 0.7952 GB, free: 4.57 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.01994/0.7287, allocations: 11.45 MB / 0.8064 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004114/0.7329, allocations: 1.525 MB / 0.8078 GB, free: 7.035 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/0.7346, allocations: 0.823 MB / 0.8086 GB, free: 6.207 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.008548/0.7432, allocations: 4.526 MB / 0.8131 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.7432, allocations: 47.5 kB / 0.8131 GB, free: 1.32 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001743/0.745, allocations: 206.4 kB / 0.8133 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=87): time 5.23e-06/0.745, allocations: 0 / 0.8133 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of matching and sorting (n=95): time 0.02065/0.7657, allocations: 5.966 MB / 0.8191 GB, free: 11.03 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.7657, allocations: 64.34 kB / 0.8192 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00973/0.7755, allocations: 5.496 MB / 0.8246 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005106/0.776, allocations: 57.7 kB / 0.8246 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002098/0.7782, allocations: 1.766 MB / 0.8263 GB, free: 3.605 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006488/0.7788, allocations: 339.2 kB / 0.8267 GB, free: 3.27 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001168/0.78, allocations: 443.2 kB / 0.8271 GB, free: 2.828 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.7801, allocations: 305.1 kB / 0.8274 GB, free: 2.527 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002632/0.7828, allocations: 1.488 MB / 0.8288 GB, free: 1.035 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003252/0.786, allocations: 2.27 MB / 0.8311 GB, free: 14.41 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005679/0.7917, allocations: 3.685 MB / 0.8347 GB, free: 10.42 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/0.7918, allocations: 4 kB / 0.8347 GB, free: 10.41 MB / 0.573 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01129/0.8031, allocations: 4.724 MB / 0.8393 GB, free: 5.66 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.187e-05/0.8032, allocations: 16 kB / 0.8393 GB, free: 5.645 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.219e-05/0.8032, allocations: 20 kB / 0.8393 GB, free: 5.625 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001858/0.8051, allocations: 0.8997 MB / 0.8402 GB, free: 4.707 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/0.8074, allocations: 451.3 kB / 0.8406 GB, free: 4.266 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008515/0.816, allocations: 9.044 MB / 0.8494 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003412/0.8194, allocations: 201.1 kB / 0.8496 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004674/0.8199, allocations: 156 kB / 0.8498 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003641/0.8236, allocations: 2.011 MB / 0.8517 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002452/0.826, allocations: 1.933 MB / 0.8536 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004083/0.8301, allocations: 3.03 MB / 0.8566 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.547e-05/0.8302, allocations: 8 kB / 0.8566 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of matching and sorting (n=231) (initialization_lambda0): time 0.00962/0.8398, allocations: 3.982 MB / 0.8605 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.8398, allocations: 16 kB / 0.8605 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-05/0.8399, allocations: 20.75 kB / 0.8605 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001976/0.8419, allocations: 0.8091 MB / 0.8613 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.8434, allocations: 407.3 kB / 0.8617 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/0.8559, allocations: 10.43 MB / 0.8719 GB, free: 2.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003515/0.8594, allocations: 192.6 kB / 0.8721 GB, free: 2.137 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004561/0.8599, allocations: 136 kB / 0.8722 GB, free: 2.004 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.0008659/0.8608, allocations: 305 kB / 0.8725 GB, free: 1.699 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/0.8621, allocations: 359.2 kB / 0.8728 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008833/0.8709, allocations: 2.789 MB / 0.8756 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.837e-05/0.871, allocations: 12 kB / 0.8756 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.871, allocations: 3.938 kB / 0.8756 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007052/0.8781, allocations: 2.454 MB / 0.878 GB, free: 11.96 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.0155/0.8936, allocations: 5.66 MB / 0.8835 GB, free: 6.172 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/0.8936, allocations: 8.125 kB / 0.8835 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/0.8952, allocations: 319.4 kB / 0.8838 GB, free: 5.852 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/0.8965, allocations: 494 kB / 0.8843 GB, free: 5.359 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002598/0.8968, allocations: 35.97 kB / 0.8843 GB, free: 5.324 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004599/0.9014, allocations: 4.438 MB / 0.8887 GB, free: 0.7383 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.9014, allocations: 7.875 kB / 0.8887 GB, free: 0.7305 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.