Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PowerExact.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Validation.PowerExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PowerExact") translateModel(BuildingSystems.Fluid.Movers.Validation.PowerExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PowerExact") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7797/0.7797, allocations: 143.4 MB / 159.2 MB, free: 4.891 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 188.5 kB / 191.9 MB, free: 5.707 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 447.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000987/0.000987, allocations: 111.4 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001911/0.001911, allocations: 274.9 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 79.89 kB / 0.6885 GB, free: 3.836 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3522, allocations: 81.3 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.PowerExact): time 0.09164/0.4439, allocations: 73.81 MB / 0.84 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.03468/0.4786, allocations: 23.59 MB / 0.863 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004845/0.4835, allocations: 87.44 kB / 0.8631 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.005449/0.4891, allocations: 1.426 MB / 0.8645 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.01125/0.5004, allocations: 3.566 MB / 0.868 GB, free: 4.867 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.007545/0.5079, allocations: 2.707 MB / 0.8706 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.01327/0.5212, allocations: 11.29 MB / 0.8817 GB, free: 6.863 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005235/0.5265, allocations: 2.55 MB / 0.8842 GB, free: 4.254 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007059/0.5336, allocations: 2.762 MB / 0.8868 GB, free: 1.48 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005857/0.5395, allocations: 2.883 MB / 0.8897 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001785/0.5413, allocations: 212 kB / 0.8899 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00691/0.5483, allocations: 2.105 MB / 0.8919 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.002492/0.5508, allocations: 1.449 MB / 0.8933 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.005158/0.556, allocations: 2.204 MB / 0.8955 GB, free: 8.602 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01188/0.5679, allocations: 7.603 MB / 0.9029 GB, free: 0.9766 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.5679, allocations: 0 / 0.9029 GB, free: 0.9766 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5679, allocations: 0 / 0.9029 GB, free: 0.9766 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001953/0.5681, allocations: 4 kB / 0.9029 GB, free: 0.9727 MB / 0.5573 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.3125/0.8806, allocations: 5.893 MB / 0.9087 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/0.8807, allocations: 10.58 kB / 0.9087 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004776/0.8855, allocations: 0.7404 MB / 0.9094 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01316/0.8987, allocations: 6.206 MB / 0.9155 GB, free: 122.6 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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" + BuildingSystems.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/BuildingSystems 2.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" + BuildingSystems.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.0004266/0.8991, allocations: 378.5 kB / 0.9158 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004591/0.8996, allocations: 204 kB / 0.916 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004653/0.9043, allocations: 2.684 MB / 0.9186 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.9043, allocations: 5.781 kB / 0.9186 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001854/0.9045, allocations: 76.48 kB / 0.9187 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-05/0.9046, allocations: 48.97 kB / 0.9188 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004069/0.9087, allocations: 1.971 MB / 0.9207 GB, free: 119.7 MB / 0.5573 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.01531/0.924, allocations: 11.45 MB / 0.9319 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003448/0.9275, allocations: 1.508 MB / 0.9333 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/0.9289, allocations: 0.8374 MB / 0.9342 GB, free: 108.4 MB / 0.5573 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.006333/0.9353, allocations: 4.53 MB / 0.9386 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.9353, allocations: 43.56 kB / 0.9386 GB, free: 103.6 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001344/0.9367, allocations: 208.1 kB / 0.9388 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=87): time 2.725e-06/0.9367, allocations: 0 / 0.9388 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=95): time 0.0179/0.9546, allocations: 5.958 MB / 0.9446 GB, free: 97.35 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.9546, allocations: 60.41 kB / 0.9447 GB, free: 97.28 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006006/0.9607, allocations: 5.478 MB / 0.9501 GB, free: 91.79 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004295/0.9611, allocations: 61.27 kB / 0.9501 GB, free: 91.72 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001031/0.9621, allocations: 1.757 MB / 0.9518 GB, free: 89.96 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003399/0.9625, allocations: 334.9 kB / 0.9521 GB, free: 89.64 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005579/0.963, allocations: 447.2 kB / 0.9526 GB, free: 89.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.646e-05/0.9631, allocations: 301.1 kB / 0.9529 GB, free: 88.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001981/0.9651, allocations: 1.484 MB / 0.9543 GB, free: 87.42 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002321/0.9674, allocations: 2.274 MB / 0.9565 GB, free: 84.79 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004301/0.9717, allocations: 3.678 MB / 0.9601 GB, free: 80.81 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.9718, allocations: 8 kB / 0.9601 GB, free: 80.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.009269/0.981, allocations: 4.716 MB / 0.9647 GB, free: 76.06 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.9811, allocations: 15.98 kB / 0.9647 GB, free: 76.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.864e-05/0.9811, allocations: 20 kB / 0.9648 GB, free: 76.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/0.9826, allocations: 0.8954 MB / 0.9656 GB, free: 75.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/0.9847, allocations: 455.3 kB / 0.9661 GB, free: 74.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006021/0.9907, allocations: 9.042 MB / 0.9749 GB, free: 65.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003539/0.9942, allocations: 200.2 kB / 0.9751 GB, free: 64.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002257/0.9945, allocations: 159.9 kB / 0.9753 GB, free: 64.74 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002784/0.9973, allocations: 2.007 MB / 0.9772 GB, free: 62.73 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001661/0.9989, allocations: 1.937 MB / 0.9791 GB, free: 60.44 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002895/1.002, allocations: 3.026 MB / 0.9821 GB, free: 57.11 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.494e-06/1.002, allocations: 7.656 kB / 0.9821 GB, free: 57.11 MB / 0.5573 GB Notification: Performance of matching and sorting (n=231) (initialization_lambda0): time 0.007823/1.01, allocations: 3.986 MB / 0.986 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/1.01, allocations: 16 kB / 0.986 GB, free: 53.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/1.01, allocations: 20.75 kB / 0.986 GB, free: 53.06 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00164/1.011, allocations: 0.8092 MB / 0.9868 GB, free: 52.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/1.013, allocations: 406.6 kB / 0.9872 GB, free: 51.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009227/1.022, allocations: 10.43 MB / 0.9974 GB, free: 40.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/1.025, allocations: 173.1 kB / 0.9975 GB, free: 40.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001927/1.025, allocations: 140 kB / 0.9977 GB, free: 40.49 MB / 0.5573 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.0004996/1.026, allocations: 308.6 kB / 0.9979 GB, free: 40.18 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005473/1.026, allocations: 360.4 kB / 0.9983 GB, free: 39.82 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007447/1.034, allocations: 2.8 MB / 1.001 GB, free: 37.01 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/1.034, allocations: 15.94 kB / 1.001 GB, free: 37 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/1.034, allocations: 0 / 1.001 GB, free: 37 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006045/1.04, allocations: 2.457 MB / 1.003 GB, free: 34.44 MB / 0.5573 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.0113/1.051, allocations: 5.658 MB / 1.009 GB, free: 28.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/1.051, allocations: 4.125 kB / 1.009 GB, free: 28.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/1.052, allocations: 315.4 kB / 1.009 GB, free: 28.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009273/1.053, allocations: 490.2 kB / 1.01 GB, free: 27.89 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.433e-05/1.053, allocations: 43.95 kB / 1.01 GB, free: 27.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002931/1.056, allocations: 4.442 MB / 1.014 GB, free: 23.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.056, allocations: 0 / 1.014 GB, free: 23.25 MB / 0.5573 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.