Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6955/0.6955, allocations: 128.7 MB / 144.5 MB, free: 1.363 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.001797/0.001797, allocations: 188.1 kB / 174.2 MB, free: 5.938 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.34/1.34, 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.0009711/0.0009715, allocations: 108.2 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009914/0.0009915, allocations: 58.77 kB / 0.558 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1222, allocations: 75.47 MB / 0.6317 GB, free: 33.07 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2): time 0.5419/0.6641, allocations: 356.5 MB / 0.9798 GB, free: 9.184 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.4335/1.098, allocations: 77.61 MB / 1.056 GB, free: 27.66 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01573/1.113, allocations: 422.8 kB / 1.056 GB, free: 27.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.01614/1.13, allocations: 4.832 MB / 1.061 GB, free: 27.56 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.03449/1.164, allocations: 12.37 MB / 1.073 GB, free: 27.01 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02837/1.193, allocations: 11.18 MB / 1.084 GB, free: 26.54 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.04719/1.24, allocations: 49.47 MB / 1.132 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02748/1.267, allocations: 17.53 MB / 1.149 GB, free: 1.465 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02997/1.297, allocations: 14.76 MB / 1.164 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02819/1.326, allocations: 15.75 MB / 1.179 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.006823/1.332, allocations: 1.207 MB / 1.18 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02038/1.353, allocations: 4.976 MB / 1.185 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.009435/1.362, allocations: 5.249 MB / 1.19 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.02011/1.382, allocations: 9.72 MB / 1.2 GB, free: 308 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.04748/1.43, allocations: 29.8 MB / 1.229 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/1.43, allocations: 4 kB / 1.229 GB, free: 3.57 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.294e-06/1.43, allocations: 0 / 1.229 GB, free: 3.57 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0009672/1.431, allocations: 0 / 1.229 GB, free: 3.57 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.06661/1.498, allocations: 22.61 MB / 1.251 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/1.498, allocations: 8.031 kB / 1.251 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01251/1.51, allocations: 2.32 MB / 1.253 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03758/1.548, allocations: 15.59 MB / 1.268 GB, free: 11.41 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008018/1.549, allocations: 0.7 MB / 1.269 GB, free: 10.71 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004718/1.553, allocations: 0.9804 MB / 1.27 GB, free: 9.742 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05514/1.609, allocations: 20.18 MB / 1.29 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003666/1.609, allocations: 15.83 kB / 1.29 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003742/1.613, allocations: 350.8 kB / 1.29 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002236/1.613, allocations: 215.9 kB / 1.29 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5119/2.125, allocations: 23.46 MB / 1.313 GB, free: 406.1 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.1198/2.245, allocations: 80.48 MB / 1.392 GB, free: 352.3 MB / 0.8543 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03188/2.277, allocations: 15.54 MB / 1.407 GB, free: 342.9 MB / 0.8543 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01217/2.289, allocations: 9.478 MB / 1.416 GB, free: 333.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.06471/2.354, allocations: 32.3 MB / 1.448 GB, free: 301.3 MB / 0.8543 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02975/2.383, allocations: 12.77 MB / 1.46 GB, free: 288.5 MB / 0.8543 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02669/2.41, allocations: 8.651 MB / 1.469 GB, free: 280.6 MB / 0.8543 GB Notification: Performance of pre-optimization done (n=573): time 3.958e-05/2.41, allocations: 0 / 1.469 GB, free: 280.6 MB / 0.8543 GB Notification: Performance of matching and sorting (n=800): time 1.097/3.507, allocations: 237 MB / 1.7 GB, free: 42.98 MB / 0.8543 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004259/3.508, allocations: 2.522 MB / 1.702 GB, free: 39.87 MB / 0.8543 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02437/3.532, allocations: 15.44 MB / 1.718 GB, free: 24.54 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 0.003603/3.536, allocations: 249.6 kB / 1.718 GB, free: 24.29 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.007484/3.543, allocations: 7.784 MB / 1.725 GB, free: 16.51 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 0.004764/3.548, allocations: 2.769 MB / 1.728 GB, free: 13.77 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01143/3.56, allocations: 3.112 MB / 1.731 GB, free: 10.66 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 3.77e-05/3.56, allocations: 305.1 kB / 1.731 GB, free: 10.36 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4709/4.031, allocations: 12.32 MB / 1.743 GB, free: 369.4 MB / 0.8544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02362/4.054, allocations: 15.64 MB / 1.759 GB, free: 364.7 MB / 0.8544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04639/4.101, allocations: 26.75 MB / 1.785 GB, free: 353.2 MB / 0.8544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001187/4.101, allocations: 19.34 kB / 1.785 GB, free: 353.2 MB / 0.8544 GB Notification: Performance of matching and sorting (n=1412) (initialization): time 0.6292/4.73, allocations: 130.8 MB / 1.913 GB, free: 260.2 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 8.643e-05/4.73, allocations: 57.69 kB / 1.913 GB, free: 260.1 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001945/4.73, allocations: 107.9 kB / 1.913 GB, free: 260 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5702/5.301, allocations: 122.3 MB / 2.032 GB, free: 138.1 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.014/5.315, allocations: 2.793 MB / 2.035 GB, free: 135.3 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5725/5.887, allocations: 142.7 MB / 2.174 GB, free: 332.2 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01956/5.907, allocations: 1.624 MB / 2.176 GB, free: 332 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003854/5.911, allocations: 0.8808 MB / 2.177 GB, free: 331.9 MB / 0.8544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02389/5.935, allocations: 14.56 MB / 2.191 GB, free: 326.6 MB / 0.8544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01864/5.953, allocations: 14.19 MB / 2.205 GB, free: 319 MB / 0.8544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03435/5.988, allocations: 24.07 MB / 2.228 GB, free: 308 MB / 0.8544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.8e-05/5.988, allocations: 18.92 kB / 2.228 GB, free: 308 MB / 0.8544 GB Notification: Performance of matching and sorting (n=1412) (initialization_lambda0): time 0.5679/6.556, allocations: 116.3 MB / 2.342 GB, free: 224 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 6.678e-05/6.556, allocations: 53.7 kB / 2.342 GB, free: 224 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002136/6.556, allocations: 107.8 kB / 2.342 GB, free: 223.9 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5584/7.115, allocations: 120.3 MB / 2.46 GB, free: 103.9 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01005/7.125, allocations: 2.333 MB / 2.462 GB, free: 101.6 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4513/7.576, allocations: 100.6 MB / 2.56 GB, free: 327.8 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01731/7.593, allocations: 1.232 MB / 2.561 GB, free: 327.8 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004128/7.597, allocations: 0.8364 MB / 2.562 GB, free: 327.8 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 {(14,89,32.1%), (28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(14,89)} Notification: Performance of prepare postOptimizeDAE: time 0.006565/7.604, allocations: 0.796 MB / 2.563 GB, free: 327.5 MB / 0.8544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006041/7.61, allocations: 1.53 MB / 2.564 GB, free: 327.5 MB / 0.8544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2455/7.856, allocations: 62.31 MB / 2.625 GB, free: 316 MB / 0.8544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001303/7.856, allocations: 100.6 kB / 2.625 GB, free: 316 MB / 0.8544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002336/7.856, allocations: 45.44 kB / 2.625 GB, free: 316 MB / 0.8544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2323/8.088, allocations: 56.38 MB / 2.68 GB, free: 276.7 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.2622/8.35, allocations: 80.18 MB / 2.759 GB, free: 197 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.771e-05/8.351, allocations: 0 / 2.759 GB, free: 197 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01058/8.361, allocations: 2.001 MB / 2.761 GB, free: 195 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2002/8.561, allocations: 45.56 MB / 2.805 GB, free: 149.6 MB / 0.8544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002738/8.564, allocations: 355.7 kB / 2.806 GB, free: 149.3 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2127/8.777, allocations: 91.21 MB / 2.895 GB, free: 57.57 MB / 0.8544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/8.777, allocations: 3.938 kB / 2.895 GB, free: 57.56 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.