Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified6.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified6") translateModel(IBPSA.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5027/0.5027, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 349.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 93.56 kB / 420 MB, free: 8.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001/0.001, allocations: 55.92 kB / 0.4891 GB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3348, allocations: 70.06 MB / 0.5575 GB, free: 44.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.FlowSystem.Simplified6): time 0.5423/0.8771, allocations: 353.2 MB / 0.9024 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.4462/1.323, allocations: 73.02 MB / 0.9737 GB, free: 19.45 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01467/1.338, allocations: 391.4 kB / 0.9741 GB, free: 19.45 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.01231/1.35, allocations: 3.872 MB / 0.9779 GB, free: 19.44 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.02704/1.377, allocations: 10.3 MB / 0.9879 GB, free: 19.2 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01727/1.395, allocations: 7.147 MB / 0.9949 GB, free: 19.02 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.03984/1.435, allocations: 38.52 MB / 1.033 GB, free: 18.16 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01923/1.454, allocations: 14.33 MB / 1.047 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02426/1.478, allocations: 11.12 MB / 1.057 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01843/1.497, allocations: 9.863 MB / 1.067 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.004723/1.501, allocations: 0.6133 MB / 1.068 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01458/1.516, allocations: 3.756 MB / 1.071 GB, free: 9.246 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.005938/1.522, allocations: 3.172 MB / 1.074 GB, free: 6.949 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.01626/1.538, allocations: 6.902 MB / 1.081 GB, free: 1.742 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.03066/1.569, allocations: 18.81 MB / 1.099 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.569, allocations: 0 / 1.099 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.382e-06/1.569, allocations: 0 / 1.099 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0007096/1.57, allocations: 0 / 1.099 GB, free: 1.977 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.03854/1.608, allocations: 15.74 MB / 1.115 GB, free: 2.258 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/1.608, allocations: 12.03 kB / 1.115 GB, free: 2.246 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/1.62, allocations: 2.472 MB / 1.117 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03299/1.653, allocations: 11.77 MB / 1.129 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002632/1.656, allocations: 0.747 MB / 1.13 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003719/1.66, allocations: 0.6874 MB / 1.13 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03455/1.694, allocations: 9.063 MB / 1.139 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002038/1.694, allocations: 19.53 kB / 1.139 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00193/1.696, allocations: 252 kB / 1.139 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002287/1.697, allocations: 155.9 kB / 1.139 GB, free: 8.996 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.032/1.729, allocations: 7.576 MB / 1.147 GB, free: 1.41 MB / 0.7292 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.1188/1.848, allocations: 50.37 MB / 1.196 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0183/1.866, allocations: 5.668 MB / 1.202 GB, free: 6.527 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01225/1.878, allocations: 4 MB / 1.205 GB, free: 2.543 MB / 0.7917 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.05353/1.932, allocations: 13.34 MB / 1.218 GB, free: 5.062 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01235/1.944, allocations: 3.795 MB / 1.222 GB, free: 1.23 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01305/1.957, allocations: 1.655 MB / 1.224 GB, free: 15.58 MB / 0.823 GB Notification: Performance of pre-optimization done (n=320): time 1.662e-05/1.957, allocations: 0 / 1.224 GB, free: 15.58 MB / 0.823 GB Notification: Performance of matching and sorting (n=506): time 0.7124/2.67, allocations: 53.84 MB / 1.276 GB, free: 433.2 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.264e-05/2.67, allocations: 114.1 kB / 1.276 GB, free: 433.2 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02085/2.691, allocations: 12.79 MB / 1.289 GB, free: 427.7 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 0.001583/2.692, allocations: 163.9 kB / 1.289 GB, free: 427.6 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 0.005734/2.698, allocations: 6.159 MB / 1.295 GB, free: 422.6 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002119/2.7, allocations: 1.706 MB / 1.297 GB, free: 421.2 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00284/2.703, allocations: 1.688 MB / 1.298 GB, free: 420.4 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 4.78e-05/2.703, allocations: 306.2 kB / 1.299 GB, free: 420.1 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01104/2.714, allocations: 5.953 MB / 1.305 GB, free: 417.1 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01303/2.727, allocations: 8.493 MB / 1.313 GB, free: 409.5 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02401/2.751, allocations: 13.73 MB / 1.326 GB, free: 395.1 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.582e-05/2.751, allocations: 16 kB / 1.326 GB, free: 395.1 MB / 0.8387 GB Notification: Performance of matching and sorting (n=953) (initialization): time 0.03932/2.791, allocations: 18.82 MB / 1.345 GB, free: 376.4 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 7.628e-05/2.791, allocations: 57.89 kB / 1.345 GB, free: 376.3 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.378e-05/2.791, allocations: 64 kB / 1.345 GB, free: 376.2 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01447/2.805, allocations: 4.777 MB / 1.349 GB, free: 371.5 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01057/2.816, allocations: 2.051 MB / 1.351 GB, free: 369.4 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009962/2.826, allocations: 10.91 MB / 1.362 GB, free: 358.3 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01326/2.839, allocations: 1.21 MB / 1.363 GB, free: 357.1 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001504/2.841, allocations: 467.9 kB / 1.364 GB, free: 356.6 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0151/2.856, allocations: 8.204 MB / 1.372 GB, free: 348.4 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01232/2.868, allocations: 8.055 MB / 1.38 GB, free: 339.3 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02121/2.889, allocations: 12.83 MB / 1.392 GB, free: 325.5 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.831e-05/2.89, allocations: 20 kB / 1.392 GB, free: 325.5 MB / 0.8387 GB Notification: Performance of matching and sorting (n=953) (initialization_lambda0): time 0.03539/2.925, allocations: 17.38 MB / 1.409 GB, free: 308 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 6.255e-05/2.925, allocations: 69.88 kB / 1.409 GB, free: 308 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-05/2.925, allocations: 60 kB / 1.409 GB, free: 307.9 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01112/2.936, allocations: 4.356 MB / 1.414 GB, free: 303.6 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009364/2.946, allocations: 2.028 MB / 1.416 GB, free: 301.5 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01886/2.965, allocations: 15.35 MB / 1.43 GB, free: 285.9 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01334/2.978, allocations: 1.246 MB / 1.432 GB, free: 284.6 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001431/2.979, allocations: 439.8 kB / 1.432 GB, free: 284.2 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (748): * Single equations (assignments): 735 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * 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): 6 systems {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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (7,78)} Notification: Performance of prepare postOptimizeDAE: time 0.00167/2.981, allocations: 0.6134 MB / 1.433 GB, free: 283.6 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002889/2.984, allocations: 1.199 MB / 1.434 GB, free: 282.3 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03193/3.016, allocations: 15.1 MB / 1.449 GB, free: 267.2 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.932e-05/3.016, allocations: 59.98 kB / 1.449 GB, free: 267.1 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/3.016, allocations: 0 / 1.449 GB, free: 267.1 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02479/3.041, allocations: 12.41 MB / 1.461 GB, free: 254.6 MB / 0.8387 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.05059/3.091, allocations: 26.5 MB / 1.487 GB, free: 227.9 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-05/3.091, allocations: 8 kB / 1.487 GB, free: 227.9 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006511/3.098, allocations: 1.241 MB / 1.488 GB, free: 226.7 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009692/3.108, allocations: 3.287 MB / 1.491 GB, free: 223.4 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001288/3.109, allocations: 163.9 kB / 1.491 GB, free: 223.2 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007726/3.117, allocations: 9.589 MB / 1.501 GB, free: 213.4 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/3.117, allocations: 4 kB / 1.501 GB, free: 213.4 MB / 0.8387 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.