Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7451/0.7451, allocations: 128.7 MB / 144.5 MB, free: 1.391 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001208/0.001208, allocations: 190.7 kB / 174.2 MB, free: 5.949 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205 MB / 408.9 MB, free: 9.73 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009286/0.0009286, allocations: 107.9 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009713/0.0009717, allocations: 54.27 kB / 0.558 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1158, allocations: 75.47 MB / 0.6317 GB, free: 33.07 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4): time 0.5205/0.6363, allocations: 356.5 MB / 0.9798 GB, free: 9.137 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.4634/1.1, allocations: 77.6 MB / 1.056 GB, free: 28.21 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01607/1.116, allocations: 427 kB / 1.056 GB, free: 28.21 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.01525/1.131, allocations: 4.358 MB / 1.06 GB, free: 28.12 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.03288/1.164, allocations: 12.03 MB / 1.072 GB, free: 27.58 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02056/1.185, allocations: 8.032 MB / 1.08 GB, free: 27.35 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.04508/1.23, allocations: 44.69 MB / 1.124 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02411/1.254, allocations: 15.97 MB / 1.139 GB, free: 11.89 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02896/1.283, allocations: 13.5 MB / 1.152 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02563/1.309, allocations: 14.44 MB / 1.166 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.006849/1.316, allocations: 1.121 MB / 1.167 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01889/1.334, allocations: 4.92 MB / 1.172 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.01071/1.345, allocations: 4.508 MB / 1.177 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.01944/1.365, allocations: 8.593 MB / 1.185 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.03762/1.402, allocations: 26.12 MB / 1.211 GB, free: 6.051 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.402, allocations: 0 / 1.211 GB, free: 6.051 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.503e-06/1.402, allocations: 0 / 1.211 GB, free: 6.051 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0007642/1.403, allocations: 4 kB / 1.211 GB, free: 6.047 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.05258/1.456, allocations: 19.53 MB / 1.23 GB, free: 2.59 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/1.456, allocations: 8.031 kB / 1.23 GB, free: 2.582 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01111/1.467, allocations: 2.202 MB / 1.232 GB, free: 368 kB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03129/1.498, allocations: 13.82 MB / 1.245 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001389/1.5, allocations: 0.6984 MB / 1.246 GB, free: 2.059 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003972/1.504, allocations: 0.7694 MB / 1.247 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04574/1.549, allocations: 17.31 MB / 1.264 GB, free: 15.75 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000278/1.55, allocations: 11.84 kB / 1.264 GB, free: 15.74 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002759/1.552, allocations: 288 kB / 1.264 GB, free: 15.46 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001623/1.553, allocations: 183.9 kB / 1.264 GB, free: 15.28 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04763/1.6, allocations: 21.72 MB / 1.285 GB, free: 9.535 MB / 0.8386 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.5708/2.171, allocations: 75.71 MB / 1.359 GB, free: 379.8 MB / 0.8543 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02715/2.198, allocations: 13.01 MB / 1.372 GB, free: 372.7 MB / 0.8543 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01088/2.209, allocations: 9.027 MB / 1.381 GB, free: 367.5 MB / 0.8543 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.04448/2.254, allocations: 29.72 MB / 1.41 GB, free: 343 MB / 0.8543 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02146/2.275, allocations: 11.34 MB / 1.421 GB, free: 331.7 MB / 0.8543 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02149/2.297, allocations: 8.489 MB / 1.429 GB, free: 323.9 MB / 0.8543 GB Notification: Performance of pre-optimization done (n=418): time 2.205e-05/2.297, allocations: 4 kB / 1.429 GB, free: 323.9 MB / 0.8543 GB Notification: Performance of matching and sorting (n=602): time 1.043/3.34, allocations: 220.1 MB / 1.644 GB, free: 104.1 MB / 0.8543 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/3.34, allocations: 112.1 kB / 1.644 GB, free: 103.9 MB / 0.8543 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01645/3.356, allocations: 13 MB / 1.657 GB, free: 91.01 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 0.00288/3.359, allocations: 185.5 kB / 1.657 GB, free: 90.82 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.004424/3.364, allocations: 6.588 MB / 1.664 GB, free: 84.23 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 0.003505/3.367, allocations: 2.042 MB / 1.666 GB, free: 82.2 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004309/3.371, allocations: 2.451 MB / 1.668 GB, free: 79.74 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 3.695e-05/3.371, allocations: 301.1 kB / 1.668 GB, free: 79.45 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0163/3.388, allocations: 10.31 MB / 1.678 GB, free: 69.12 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01823/3.406, allocations: 12.69 MB / 1.691 GB, free: 55.42 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03744/3.443, allocations: 22.76 MB / 1.713 GB, free: 31.86 MB / 0.8543 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.739e-05/3.444, allocations: 16 kB / 1.713 GB, free: 31.85 MB / 0.8543 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.8968/4.34, allocations: 123.3 MB / 1.833 GB, free: 346.2 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 6.575e-05/4.341, allocations: 54.77 kB / 1.833 GB, free: 346.2 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.285e-05/4.341, allocations: 55.06 kB / 1.833 GB, free: 346.2 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5559/4.897, allocations: 120 MB / 1.951 GB, free: 228.3 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00979/4.906, allocations: 1.883 MB / 1.952 GB, free: 226.5 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2659/5.172, allocations: 131.1 MB / 2.08 GB, free: 95.37 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01896/5.191, allocations: 1.376 MB / 2.082 GB, free: 94.02 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003229/5.195, allocations: 0.788 MB / 2.083 GB, free: 93.23 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01851/5.213, allocations: 11.9 MB / 2.094 GB, free: 81.32 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01353/5.227, allocations: 11.42 MB / 2.105 GB, free: 68.89 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02706/5.254, allocations: 20.4 MB / 2.125 GB, free: 47.7 MB / 0.8543 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.845e-05/5.254, allocations: 16 kB / 2.125 GB, free: 47.68 MB / 0.8543 GB Notification: Performance of matching and sorting (n=1024) (initialization_lambda0): time 0.81/6.064, allocations: 110.5 MB / 2.233 GB, free: 341.7 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 6.15e-05/6.064, allocations: 64.19 kB / 2.233 GB, free: 341.6 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-05/6.064, allocations: 49.88 kB / 2.233 GB, free: 341.6 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5585/6.622, allocations: 118.2 MB / 2.349 GB, free: 238.7 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007753/6.63, allocations: 1.725 MB / 2.35 GB, free: 237.1 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1602/6.79, allocations: 95.6 MB / 2.444 GB, free: 141.7 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01435/6.805, allocations: 1.024 MB / 2.445 GB, free: 140.7 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002364/6.807, allocations: 0.7451 MB / 2.445 GB, free: 139.9 MB / 0.8543 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (764): * Single equations (assignments): 751 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {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): 2 systems {(5,80,76.0%), (28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,78)} Notification: Performance of prepare postOptimizeDAE: time 0.002638/6.81, allocations: 0.6272 MB / 2.446 GB, free: 139.3 MB / 0.8543 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003749/6.814, allocations: 1.269 MB / 2.447 GB, free: 138.7 MB / 0.8543 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2185/7.032, allocations: 56.84 MB / 2.503 GB, free: 81.9 MB / 0.8543 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000106/7.032, allocations: 75.94 kB / 2.503 GB, free: 81.82 MB / 0.8543 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001064/7.032, allocations: 48 kB / 2.503 GB, free: 81.78 MB / 0.8543 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2074/7.24, allocations: 51.33 MB / 2.553 GB, free: 30.42 MB / 0.8543 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.5221/7.762, allocations: 72.39 MB / 2.624 GB, free: 334.1 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.623e-05/7.762, allocations: 7.344 kB / 2.624 GB, free: 334.1 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006906/7.769, allocations: 1.364 MB / 2.625 GB, free: 334.1 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.19/7.959, allocations: 43.36 MB / 2.667 GB, free: 329.4 MB / 0.8543 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002135/7.961, allocations: 213.5 kB / 2.668 GB, free: 329.2 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1716/8.133, allocations: 78.98 MB / 2.745 GB, free: 250 MB / 0.8543 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/8.133, allocations: 4.656 kB / 2.745 GB, free: 250 MB / 0.8543 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.