Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic.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.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.704/0.704, 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.001297/0.001297, allocations: 182.2 kB / 174.2 MB, free: 5.934 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.348/1.348, allocations: 205 MB / 408.9 MB, free: 9.703 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.0009264/0.0009264, allocations: 90.3 kB / 485.1 MB, free: 13.6 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 50.92 kB / 0.558 GB, free: 97.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1158, allocations: 75.47 MB / 0.6317 GB, free: 33.08 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic): time 0.5604/0.6762, allocations: 356.4 MB / 0.9797 GB, free: 9.277 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.4667/1.143, allocations: 77.6 MB / 1.056 GB, free: 27.47 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01551/1.158, allocations: 422.2 kB / 1.056 GB, free: 27.47 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.01612/1.175, allocations: 4.837 MB / 1.061 GB, free: 27.37 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.03408/1.209, allocations: 12.36 MB / 1.073 GB, free: 26.82 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02708/1.236, allocations: 11.19 MB / 1.084 GB, free: 26.35 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.04949/1.285, allocations: 49.66 MB / 1.132 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02685/1.312, allocations: 17.54 MB / 1.149 GB, free: 1.164 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03345/1.346, allocations: 14.81 MB / 1.164 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02998/1.376, allocations: 15.78 MB / 1.179 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.007717/1.384, allocations: 1.215 MB / 1.18 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02167/1.405, allocations: 4.993 MB / 1.185 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.01046/1.416, allocations: 5.265 MB / 1.19 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.02235/1.438, allocations: 9.756 MB / 1.2 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.04437/1.483, allocations: 29.91 MB / 1.229 GB, free: 3.016 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.483, allocations: 0 / 1.229 GB, free: 3.016 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.663e-06/1.483, allocations: 0 / 1.229 GB, free: 3.016 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.000843/1.483, allocations: 4 kB / 1.229 GB, free: 3.012 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.06618/1.55, allocations: 22.64 MB / 1.251 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/1.55, allocations: 16.03 kB / 1.251 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01189/1.562, allocations: 2.316 MB / 1.253 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03674/1.598, allocations: 15.64 MB / 1.269 GB, free: 10.75 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007905/1.599, allocations: 0.7127 MB / 1.269 GB, free: 10.05 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004762/1.604, allocations: 0.9911 MB / 1.27 GB, free: 9.062 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05693/1.661, allocations: 20.45 MB / 1.29 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003449/1.661, allocations: 11.84 kB / 1.29 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004082/1.665, allocations: 350.8 kB / 1.291 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002364/1.666, allocations: 215.9 kB / 1.291 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.53/2.196, allocations: 23.69 MB / 1.314 GB, free: 406 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.1299/2.326, allocations: 79.65 MB / 1.392 GB, free: 353 MB / 0.8543 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03294/2.359, allocations: 15.85 MB / 1.407 GB, free: 342.4 MB / 0.8543 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01274/2.371, allocations: 9.965 MB / 1.417 GB, free: 332.4 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.06473/2.436, allocations: 32.85 MB / 1.449 GB, free: 299.8 MB / 0.8543 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03097/2.467, allocations: 12.92 MB / 1.462 GB, free: 286.8 MB / 0.8543 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02746/2.495, allocations: 8.669 MB / 1.47 GB, free: 278.9 MB / 0.8543 GB Notification: Performance of pre-optimization done (n=597): time 5.06e-05/2.495, allocations: 0 / 1.47 GB, free: 278.9 MB / 0.8543 GB Notification: Performance of matching and sorting (n=848): time 1.055/3.55, allocations: 243.1 MB / 1.708 GB, free: 34.96 MB / 0.8543 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000481/3.55, allocations: 2.534 MB / 1.71 GB, free: 31.84 MB / 0.8543 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0213/3.572, allocations: 15.39 MB / 1.725 GB, free: 16.55 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 0.004096/3.576, allocations: 269.5 kB / 1.725 GB, free: 16.29 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.007138/3.583, allocations: 7.771 MB / 1.733 GB, free: 8.527 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 0.006197/3.589, allocations: 2.934 MB / 1.736 GB, free: 5.613 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01311/3.602, allocations: 3.193 MB / 1.739 GB, free: 2.43 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 3.66e-05/3.602, allocations: 301.1 kB / 1.739 GB, free: 2.133 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5039/4.106, allocations: 12.87 MB / 1.752 GB, free: 369.4 MB / 0.8544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02701/4.133, allocations: 16.23 MB / 1.768 GB, free: 361.6 MB / 0.8544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04574/4.179, allocations: 27.55 MB / 1.795 GB, free: 349.9 MB / 0.8544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001367/4.179, allocations: 17.19 kB / 1.795 GB, free: 349.9 MB / 0.8544 GB Notification: Performance of matching and sorting (n=1436) (initialization): time 0.6257/4.805, allocations: 132.5 MB / 1.924 GB, free: 248.5 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 7.618e-05/4.805, allocations: 53.69 kB / 1.924 GB, free: 248.4 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001927/4.805, allocations: 99.92 kB / 1.924 GB, free: 248.4 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5894/5.395, allocations: 131.3 MB / 2.052 GB, free: 117.4 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01296/5.408, allocations: 2.602 MB / 2.055 GB, free: 114.8 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6056/6.013, allocations: 159.8 MB / 2.211 GB, free: 321.3 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01946/6.033, allocations: 1.601 MB / 2.213 GB, free: 321.2 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003599/6.036, allocations: 0.8999 MB / 2.213 GB, free: 321.1 MB / 0.8544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02255/6.059, allocations: 15.1 MB / 2.228 GB, free: 315.6 MB / 0.8544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01941/6.078, allocations: 14.76 MB / 2.243 GB, free: 307.8 MB / 0.8544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03769/6.116, allocations: 24.89 MB / 2.267 GB, free: 296.5 MB / 0.8544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.585e-05/6.116, allocations: 16 kB / 2.267 GB, free: 296.5 MB / 0.8544 GB Notification: Performance of matching and sorting (n=1436) (initialization_lambda0): time 0.5419/6.658, allocations: 120.5 MB / 2.385 GB, free: 180.7 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 6.718e-05/6.658, allocations: 57.64 kB / 2.385 GB, free: 180.7 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002044/6.658, allocations: 96.42 kB / 2.385 GB, free: 180.6 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5985/7.257, allocations: 129 MB / 2.511 GB, free: 51.98 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00888/7.266, allocations: 2.137 MB / 2.513 GB, free: 49.84 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4823/7.748, allocations: 119.7 MB / 2.63 GB, free: 309.6 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01854/7.767, allocations: 1.28 MB / 2.631 GB, free: 309.5 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003949/7.771, allocations: 0.8388 MB / 2.632 GB, free: 309.4 MB / 0.8544 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 (980): * Single equations (assignments): 901 * 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 {(33,118,24.2%), (28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(33,118)} Notification: Performance of prepare postOptimizeDAE: time 0.005341/7.776, allocations: 0.7891 MB / 2.632 GB, free: 308.9 MB / 0.8544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0056/7.782, allocations: 1.547 MB / 2.634 GB, free: 308.9 MB / 0.8544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2609/8.043, allocations: 64.43 MB / 2.697 GB, free: 260.5 MB / 0.8544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001131/8.043, allocations: 96 kB / 2.697 GB, free: 260.4 MB / 0.8544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002105/8.043, allocations: 50.48 kB / 2.697 GB, free: 260.3 MB / 0.8544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2387/8.282, allocations: 58.47 MB / 2.754 GB, free: 202 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.2916/8.573, allocations: 83.83 MB / 2.836 GB, free: 118.6 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-05/8.573, allocations: 4 kB / 2.836 GB, free: 118.6 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009613/8.583, allocations: 1.846 MB / 2.838 GB, free: 116.7 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2173/8.8, allocations: 51.62 MB / 2.888 GB, free: 65.34 MB / 0.8544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002747/8.803, allocations: 375.6 kB / 2.889 GB, free: 64.97 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5114/9.314, allocations: 106 MB / 2.992 GB, free: 321.4 MB / 0.8544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/9.315, allocations: 4.531 kB / 2.992 GB, free: 321.4 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.