Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified2.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.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified2") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9964/0.9964, allocations: 143.4 MB / 159.2 MB, free: 4.898 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.001407/0.001407, allocations: 188.5 kB / 191.9 MB, free: 5.703 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.429/1.429, allocations: 222.9 MB / 447.4 MB, free: 5.82 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.001091/0.001091, allocations: 107.6 kB / 0.517 GB, free: 3.691 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00186/0.00186, allocations: 284.7 kB / 0.5973 GB, free: 49.34 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 79.89 kB / 0.6885 GB, free: 3.812 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3887, allocations: 81.29 MB / 0.7679 GB, free: 27.62 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified2): time 0.6374/1.026, allocations: 352.9 MB / 1.113 GB, free: 2.621 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.5623/1.589, allocations: 72.83 MB / 1.184 GB, free: 20.87 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01529/1.604, allocations: 372.5 kB / 1.184 GB, free: 20.87 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.01567/1.62, allocations: 4.423 MB / 1.188 GB, free: 20.86 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.03697/1.657, allocations: 12.5 MB / 1.201 GB, free: 20.64 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.02291/1.679, allocations: 8.85 MB / 1.209 GB, free: 20.43 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.05127/1.731, allocations: 48.43 MB / 1.257 GB, free: 18.16 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02303/1.754, allocations: 17.51 MB / 1.274 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03021/1.784, allocations: 14.67 MB / 1.288 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02852/1.813, allocations: 15.75 MB / 1.303 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.007847/1.821, allocations: 1.215 MB / 1.305 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02395/1.844, allocations: 4.874 MB / 1.309 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.01058/1.855, allocations: 5.102 MB / 1.314 GB, free: 9.266 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.02548/1.881, allocations: 9.512 MB / 1.324 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.05114/1.932, allocations: 27.94 MB / 1.351 GB, free: 6.867 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.932, allocations: 0 / 1.351 GB, free: 6.867 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.492e-06/1.932, allocations: 0 / 1.351 GB, free: 6.867 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.001168/1.933, allocations: 0 / 1.351 GB, free: 6.867 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.06473/1.998, allocations: 22.08 MB / 1.372 GB, free: 0.8594 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/1.998, allocations: 16.03 kB / 1.372 GB, free: 0.8438 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01157/2.009, allocations: 2.219 MB / 1.375 GB, free: 14.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04254/2.052, allocations: 15.45 MB / 1.39 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009138/2.053, allocations: 0.688 MB / 1.39 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004897/2.058, allocations: 0.9297 MB / 1.391 GB, free: 13.85 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04331/2.101, allocations: 16.46 MB / 1.407 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000531/2.102, allocations: 11.92 kB / 1.407 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005905/2.108, allocations: 328.7 kB / 1.408 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004524/2.108, allocations: 367.2 kB / 1.408 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04055/2.149, allocations: 20.93 MB / 1.428 GB, free: 7.574 MB / 0.8698 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.1613/2.31, allocations: 80.5 MB / 1.507 GB, free: 4.391 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5854/2.895, allocations: 12.7 MB / 1.519 GB, free: 470.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01416/2.91, allocations: 9.508 MB / 1.529 GB, free: 466.1 MB / 0.948 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.06451/2.974, allocations: 34.39 MB / 1.562 GB, free: 447.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01418/2.988, allocations: 9.713 MB / 1.572 GB, free: 441.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02367/3.012, allocations: 8.553 MB / 1.58 GB, free: 438.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=576): time 2.724e-05/3.012, allocations: 0 / 1.58 GB, free: 438.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=868): time 1.065/4.077, allocations: 274.6 MB / 1.848 GB, free: 166.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1513/4.228, allocations: 55.48 MB / 1.902 GB, free: 110.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02469/4.253, allocations: 14.74 MB / 1.917 GB, free: 95.48 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.004008/4.257, allocations: 225.7 kB / 1.917 GB, free: 95.25 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007193/4.264, allocations: 7.146 MB / 1.924 GB, free: 88.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.009423/4.274, allocations: 3.09 MB / 1.927 GB, free: 85.04 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01554/4.29, allocations: 3.739 MB / 1.931 GB, free: 81.29 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.001e-05/4.29, allocations: 305.2 kB / 1.931 GB, free: 80.99 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03847/4.328, allocations: 20.52 MB / 1.951 GB, free: 60.45 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04878/4.377, allocations: 23.12 MB / 1.974 GB, free: 36.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6756/5.053, allocations: 38.66 MB / 2.011 GB, free: 429.1 MB / 0.9482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.534e-05/5.053, allocations: 11.84 kB / 2.011 GB, free: 429.1 MB / 0.9482 GB Notification: Performance of matching and sorting (n=1384) (initialization): time 0.6069/5.66, allocations: 135.2 MB / 2.143 GB, free: 350.7 MB / 0.9482 GB Notification: Performance of prepare postOptimizeDAE: time 7.293e-05/5.66, allocations: 53.7 kB / 2.144 GB, free: 350.6 MB / 0.9482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-05/5.66, allocations: 55.98 kB / 2.144 GB, free: 350.6 MB / 0.9482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5746/6.234, allocations: 119 MB / 2.26 GB, free: 232 MB / 0.9482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01723/6.252, allocations: 3.357 MB / 2.263 GB, free: 228.6 MB / 0.9482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1495/6.401, allocations: 79.72 MB / 2.341 GB, free: 148.8 MB / 0.9482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1347/6.536, allocations: 8.026 MB / 2.349 GB, free: 140.8 MB / 0.9482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008428/6.544, allocations: 1.395 MB / 2.35 GB, free: 139.4 MB / 0.9482 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04453/6.589, allocations: 23.53 MB / 2.373 GB, free: 115.8 MB / 0.9482 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03215/6.621, allocations: 22.66 MB / 2.395 GB, free: 92.14 MB / 0.9482 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05636/6.678, allocations: 37.73 MB / 2.432 GB, free: 53.61 MB / 0.9482 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.144e-05/6.678, allocations: 16 kB / 2.432 GB, free: 53.59 MB / 0.9482 GB Notification: Performance of matching and sorting (n=1384) (initialization_lambda0): time 0.956/7.634, allocations: 133.6 MB / 2.563 GB, free: 393.9 MB / 0.9482 GB Notification: Performance of prepare postOptimizeDAE: time 8.709e-05/7.634, allocations: 56.09 kB / 2.563 GB, free: 393.9 MB / 0.9482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.949e-05/7.634, allocations: 58.75 kB / 2.563 GB, free: 393.9 MB / 0.9482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5735/8.207, allocations: 118.6 MB / 2.678 GB, free: 279.5 MB / 0.9482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01637/8.224, allocations: 3.326 MB / 2.682 GB, free: 276.2 MB / 0.9482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1566/8.381, allocations: 83.19 MB / 2.763 GB, free: 192.9 MB / 0.9482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1277/8.508, allocations: 8.047 MB / 2.771 GB, free: 184.8 MB / 0.9482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005972/8.514, allocations: 1.364 MB / 2.772 GB, free: 183.5 MB / 0.9482 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1024): * Single equations (assignments): 1006 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 3 * 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): 8 systems {1, 1, 1, 1, 1, 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): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(14,90), (14,90)} Notification: Performance of prepare postOptimizeDAE: time 0.0075/8.522, allocations: 0.7413 MB / 2.773 GB, free: 182.7 MB / 0.9482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006852/8.529, allocations: 1.464 MB / 2.774 GB, free: 182.1 MB / 0.9482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2259/8.755, allocations: 63.16 MB / 2.836 GB, free: 119 MB / 0.9482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2283/8.983, allocations: 71.7 MB / 2.906 GB, free: 47.24 MB / 0.9482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.084e-05/8.983, allocations: 28 kB / 2.906 GB, free: 47.21 MB / 0.9482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5488/9.532, allocations: 70.88 MB / 2.975 GB, free: 398.3 MB / 0.9482 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.3273/9.859, allocations: 156 MB / 3.128 GB, free: 293 MB / 0.9482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.159e-05/9.859, allocations: 0 / 3.128 GB, free: 293 MB / 0.9482 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01142/9.871, allocations: 1.978 MB / 3.13 GB, free: 291 MB / 0.9482 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4004/10.27, allocations: 97.4 MB / 3.225 GB, free: 194 MB / 0.9482 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003383/10.27, allocations: 0.6494 MB / 3.225 GB, free: 193.4 MB / 0.9482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1044/10.38, allocations: 61.03 MB / 3.285 GB, free: 132.2 MB / 0.9482 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1034/10.48, allocations: 46.57 MB / 3.33 GB, free: 85.38 MB / 0.9482 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.