Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified5") translateModel(IBPSA.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001196, allocations: 189.1 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.4669/0.4669, allocations: 87.5 MB / 104.9 MB, free: 13.01 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.476/1.476, allocations: 222.9 MB / 349.1 MB, free: 2.758 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.000925/0.0009249, allocations: 108.6 kB / 420 MB, free: 8.461 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009746/0.0009747, allocations: 55.92 kB / 0.4891 GB, free: 7.676 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3037, allocations: 70.06 MB / 0.5575 GB, free: 44.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.FlowSystem.Simplified5): time 0.5791/0.8828, allocations: 353.1 MB / 0.9023 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.4271/1.31, allocations: 73.03 MB / 0.9737 GB, free: 19.53 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01341/1.323, allocations: 395.5 kB / 0.974 GB, free: 19.53 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.01225/1.336, allocations: 3.874 MB / 0.9778 GB, free: 19.53 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.02717/1.363, allocations: 10.29 MB / 0.9879 GB, free: 19.28 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01761/1.381, allocations: 7.143 MB / 0.9948 GB, free: 19.11 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.04392/1.425, allocations: 38.53 MB / 1.032 GB, free: 18.2 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02477/1.449, allocations: 15.43 MB / 1.048 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02625/1.476, allocations: 12.8 MB / 1.06 GB, free: 2.691 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02558/1.501, allocations: 13.51 MB / 1.073 GB, free: 8.355 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.007182/1.508, allocations: 1.087 MB / 1.074 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01692/1.525, allocations: 4.217 MB / 1.078 GB, free: 3.922 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.008778/1.534, allocations: 4.298 MB / 1.083 GB, free: 1.102 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.01898/1.553, allocations: 8.038 MB / 1.09 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.03566/1.589, allocations: 23 MB / 1.113 GB, free: 5.109 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.589, allocations: 0 / 1.113 GB, free: 5.109 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.655e-06/1.589, allocations: 0 / 1.113 GB, free: 5.109 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0007171/1.59, allocations: 7.938 kB / 1.113 GB, free: 5.102 MB / 0.698 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.05508/1.645, allocations: 18.5 MB / 1.131 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/1.645, allocations: 8.031 kB / 1.131 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01482/1.66, allocations: 2.617 MB / 1.134 GB, free: 24 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03596/1.696, allocations: 12.8 MB / 1.146 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001788/1.698, allocations: 0.7428 MB / 1.147 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003744/1.701, allocations: 0.6835 MB / 1.147 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03811/1.739, allocations: 14.14 MB / 1.161 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003315/1.74, allocations: 11.69 kB / 1.161 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003542/1.743, allocations: 244 kB / 1.162 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001578/1.744, allocations: 148 kB / 1.162 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03838/1.782, allocations: 19.16 MB / 1.18 GB, free: 208 kB / 0.7605 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.1328/1.915, allocations: 72.16 MB / 1.251 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5268/2.442, allocations: 10.74 MB / 1.261 GB, free: 436.1 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01406/2.456, allocations: 9.13 MB / 1.27 GB, free: 432.3 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 preOpt evalFunc (simulation): time 0.05815/2.514, allocations: 30.74 MB / 1.3 GB, free: 414.5 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01524/2.529, allocations: 8.955 MB / 1.309 GB, free: 409 MB / 0.8387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02689/2.556, allocations: 8.577 MB / 1.317 GB, free: 404 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=387): time 4.924e-05/2.556, allocations: 0 / 1.317 GB, free: 404 MB / 0.8387 GB Notification: Performance of matching and sorting (n=573): time 0.9695/3.526, allocations: 203.5 MB / 1.516 GB, free: 201.3 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.202e-05/3.526, allocations: 107.9 kB / 1.516 GB, free: 201.2 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02203/3.548, allocations: 12.57 MB / 1.528 GB, free: 188.7 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 0.002932/3.551, allocations: 168.5 kB / 1.529 GB, free: 188.6 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 0.005591/3.557, allocations: 5.945 MB / 1.534 GB, free: 182.6 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003851/3.56, allocations: 1.933 MB / 1.536 GB, free: 180.7 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00884/3.569, allocations: 2.4 MB / 1.539 GB, free: 178.3 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 3.994e-05/3.569, allocations: 301.1 kB / 1.539 GB, free: 178 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0179/3.587, allocations: 10.18 MB / 1.549 GB, free: 167.8 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01954/3.607, allocations: 12.4 MB / 1.561 GB, free: 154.5 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03978/3.647, allocations: 22.16 MB / 1.583 GB, free: 131.6 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.787e-05/3.647, allocations: 12 kB / 1.583 GB, free: 131.6 MB / 0.8387 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.9572/4.604, allocations: 125.9 MB / 1.706 GB, free: 389 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 9.634e-05/4.604, allocations: 51.83 kB / 1.706 GB, free: 389 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/4.604, allocations: 45.78 kB / 1.706 GB, free: 389 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.711/5.315, allocations: 136.2 MB / 1.839 GB, free: 310.8 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0107/5.326, allocations: 1.957 MB / 1.841 GB, free: 308.9 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1714/5.497, allocations: 94.08 MB / 1.932 GB, free: 214.8 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01817/5.516, allocations: 1.204 MB / 1.934 GB, free: 213.6 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003371/5.519, allocations: 0.7694 MB / 1.934 GB, free: 212.9 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02177/5.541, allocations: 12.43 MB / 1.946 GB, free: 200.4 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01826/5.559, allocations: 11.95 MB / 1.958 GB, free: 187.6 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03379/5.593, allocations: 21.27 MB / 1.979 GB, free: 165.6 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.828e-05/5.593, allocations: 20 kB / 1.979 GB, free: 165.6 MB / 0.8387 GB Notification: Performance of matching and sorting (n=958) (initialization_lambda0): time 0.6726/6.266, allocations: 124.4 MB / 2.1 GB, free: 41.73 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 8.09e-05/6.266, allocations: 56.45 kB / 2.1 GB, free: 41.68 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.861e-05/6.266, allocations: 51.98 kB / 2.101 GB, free: 41.62 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032/7.298, allocations: 135.7 MB / 2.233 GB, free: 343.2 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009506/7.308, allocations: 1.927 MB / 2.235 GB, free: 341.3 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1955/7.503, allocations: 97.89 MB / 2.33 GB, free: 243.4 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01873/7.522, allocations: 1.23 MB / 2.332 GB, free: 242.2 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004089/7.526, allocations: 0.7333 MB / 2.332 GB, free: 241.5 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (683): * Single equations (assignments): 669 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 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): 1 system {(32,39,82.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(7,78), (8,77)} Notification: Performance of prepare postOptimizeDAE: time 0.004962/7.531, allocations: 0.6075 MB / 2.333 GB, free: 240.9 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004456/7.536, allocations: 1.202 MB / 2.334 GB, free: 240.4 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2294/7.765, allocations: 52.49 MB / 2.385 GB, free: 188 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001138/7.765, allocations: 72 kB / 2.386 GB, free: 187.9 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001479/7.765, allocations: 37.97 kB / 2.386 GB, free: 187.9 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2094/7.975, allocations: 46.93 MB / 2.431 GB, free: 140.9 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.2361/8.211, allocations: 66.62 MB / 2.496 GB, free: 74.41 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-05/8.211, allocations: 4 kB / 2.496 GB, free: 74.4 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008507/8.219, allocations: 1.354 MB / 2.498 GB, free: 73.05 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2383/8.458, allocations: 46.93 MB / 2.544 GB, free: 26.32 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002515/8.46, allocations: 191.9 kB / 2.544 GB, free: 26.13 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4135/8.874, allocations: 41.56 MB / 2.584 GB, free: 381.4 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/8.874, allocations: 10.72 kB / 2.584 GB, free: 381.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.