Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6891/0.6891, allocations: 128.7 MB / 144.5 MB, free: 1.422 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.001194/0.001194, allocations: 188.5 kB / 174.2 MB, free: 5.941 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.309/1.309, allocations: 205 MB / 408.9 MB, free: 9.766 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.001001/0.001001, allocations: 113.3 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 55.84 kB / 0.558 GB, free: 97.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1199, allocations: 75.48 MB / 0.6317 GB, free: 33.09 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1): time 0.5529/0.6728, allocations: 356.4 MB / 0.9797 GB, free: 9.262 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.4382/1.111, allocations: 77.6 MB / 1.056 GB, free: 27.42 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01567/1.127, allocations: 427 kB / 1.056 GB, free: 27.42 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.01659/1.143, allocations: 4.828 MB / 1.061 GB, free: 27.32 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.03568/1.179, allocations: 12.37 MB / 1.073 GB, free: 26.77 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02716/1.206, allocations: 11.19 MB / 1.084 GB, free: 26.29 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.04705/1.253, allocations: 49.47 MB / 1.132 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02692/1.28, allocations: 17.52 MB / 1.149 GB, free: 1.332 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03352/1.314, allocations: 14.76 MB / 1.163 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02932/1.343, allocations: 15.75 MB / 1.179 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.008755/1.352, allocations: 1.207 MB / 1.18 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02123/1.373, allocations: 4.977 MB / 1.185 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.009729/1.383, allocations: 5.244 MB / 1.19 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.02071/1.404, allocations: 9.73 MB / 1.2 GB, free: 164 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.04177/1.446, allocations: 29.8 MB / 1.229 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/1.446, allocations: 0 / 1.229 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.403e-06/1.446, allocations: 0 / 1.229 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0009738/1.447, allocations: 0 / 1.229 GB, free: 3.434 MB / 0.7761 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.05615/1.503, allocations: 22.6 MB / 1.251 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/1.503, allocations: 12.03 kB / 1.251 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01013/1.513, allocations: 2.316 MB / 1.253 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03363/1.547, allocations: 15.6 MB / 1.268 GB, free: 11.27 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009827/1.548, allocations: 0.704 MB / 1.269 GB, free: 10.57 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004868/1.553, allocations: 0.9823 MB / 1.27 GB, free: 9.594 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04909/1.602, allocations: 19.25 MB / 1.289 GB, free: 5.852 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003276/1.602, allocations: 15.84 kB / 1.289 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003483/1.606, allocations: 351.1 kB / 1.289 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001986/1.606, allocations: 211.9 kB / 1.289 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4841/2.09, allocations: 22.54 MB / 1.311 GB, free: 406.3 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 removeSimpleEquations (simulation): time 0.1237/2.214, allocations: 80.45 MB / 1.39 GB, free: 353.1 MB / 0.8543 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02741/2.241, allocations: 14.4 MB / 1.404 GB, free: 345.1 MB / 0.8543 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01102/2.252, allocations: 9.483 MB / 1.413 GB, free: 336.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.05865/2.311, allocations: 32.3 MB / 1.445 GB, free: 304.4 MB / 0.8543 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02321/2.334, allocations: 11.63 MB / 1.456 GB, free: 292.8 MB / 0.8543 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0233/2.357, allocations: 8.657 MB / 1.464 GB, free: 284.9 MB / 0.8543 GB Notification: Performance of pre-optimization done (n=573): time 2.822e-05/2.358, allocations: 0 / 1.464 GB, free: 284.9 MB / 0.8543 GB Notification: Performance of matching and sorting (n=800): time 0.9574/3.315, allocations: 211.6 MB / 1.671 GB, free: 72.68 MB / 0.8543 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004864/3.315, allocations: 2.534 MB / 1.674 GB, free: 69.55 MB / 0.8543 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02507/3.341, allocations: 15.44 MB / 1.689 GB, free: 54.23 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 0.00367/3.344, allocations: 253.6 kB / 1.689 GB, free: 53.98 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.006771/3.351, allocations: 7.781 MB / 1.697 GB, free: 46.21 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 0.004467/3.356, allocations: 2.767 MB / 1.699 GB, free: 43.46 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006846/3.362, allocations: 3.094 MB / 1.702 GB, free: 40.37 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 3.994e-05/3.362, allocations: 309.1 kB / 1.703 GB, free: 40.07 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01863/3.381, allocations: 11.94 MB / 1.714 GB, free: 28.11 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02127/3.402, allocations: 15.24 MB / 1.729 GB, free: 11.57 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5341/3.937, allocations: 26.02 MB / 1.754 GB, free: 364.6 MB / 0.8544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-05/3.937, allocations: 13.78 kB / 1.754 GB, free: 364.6 MB / 0.8544 GB Notification: Performance of matching and sorting (n=1412) (initialization): time 0.6209/4.558, allocations: 123.5 MB / 1.875 GB, free: 295 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 7.649e-05/4.558, allocations: 57.69 kB / 1.875 GB, free: 294.9 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001978/4.558, allocations: 103.9 kB / 1.875 GB, free: 294.8 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5907/5.149, allocations: 122.3 MB / 1.995 GB, free: 172.8 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01392/5.163, allocations: 2.797 MB / 1.997 GB, free: 170 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.288/5.451, allocations: 130.9 MB / 2.125 GB, free: 39.09 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02229/5.473, allocations: 1.364 MB / 2.127 GB, free: 37.78 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004689/5.478, allocations: 0.8814 MB / 2.127 GB, free: 36.9 MB / 0.8544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.3146/5.792, allocations: 14.56 MB / 2.142 GB, free: 351.6 MB / 0.8544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01988/5.812, allocations: 14.19 MB / 2.156 GB, free: 348.2 MB / 0.8544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03667/5.849, allocations: 24.06 MB / 2.179 GB, free: 339.6 MB / 0.8544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.358e-05/5.849, allocations: 11.91 kB / 2.179 GB, free: 339.6 MB / 0.8544 GB Notification: Performance of matching and sorting (n=1412) (initialization_lambda0): time 0.5507/6.4, allocations: 116.2 MB / 2.292 GB, free: 274.2 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 5.823e-05/6.4, allocations: 61.34 kB / 2.293 GB, free: 274.1 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001946/6.4, allocations: 104.8 kB / 2.293 GB, free: 274 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6073/7.007, allocations: 120.5 MB / 2.41 GB, free: 153.8 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009886/7.017, allocations: 2.337 MB / 2.413 GB, free: 151.5 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1802/7.198, allocations: 101.2 MB / 2.511 GB, free: 50.52 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01694/7.215, allocations: 1.202 MB / 2.513 GB, free: 49.38 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0035/7.218, allocations: 0.8271 MB / 2.513 GB, free: 48.55 MB / 0.8544 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 (1052): * Single equations (assignments): 973 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * 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): 7 systems {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): 2 systems {(39,64,16.3%), (28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(39,64)} Notification: Performance of prepare postOptimizeDAE: time 0.003756/7.222, allocations: 0.791 MB / 2.514 GB, free: 47.79 MB / 0.8544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004531/7.226, allocations: 1.534 MB / 2.516 GB, free: 47.08 MB / 0.8544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.502/7.728, allocations: 56.45 MB / 2.571 GB, free: 338.3 MB / 0.8544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-05/7.728, allocations: 91.89 kB / 2.571 GB, free: 338.3 MB / 0.8544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000146/7.729, allocations: 46.28 kB / 2.571 GB, free: 338.3 MB / 0.8544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2046/7.933, allocations: 50.55 MB / 2.62 GB, free: 334.4 MB / 0.8544 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.239/8.172, allocations: 74.26 MB / 2.693 GB, free: 267.1 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.276e-05/8.172, allocations: 0 / 2.693 GB, free: 267.1 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01198/8.184, allocations: 2.013 MB / 2.695 GB, free: 265 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1942/8.379, allocations: 45.24 MB / 2.739 GB, free: 220.1 MB / 0.8544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002455/8.381, allocations: 355.6 kB / 2.739 GB, free: 219.7 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1966/8.578, allocations: 80.35 MB / 2.818 GB, free: 139 MB / 0.8544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/8.578, allocations: 7.969 kB / 2.818 GB, free: 139 MB / 0.8544 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.