Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.707/0.707, allocations: 128.7 MB / 144.5 MB, free: 1.375 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.001285/0.001285, allocations: 200.1 kB / 174.3 MB, free: 5.918 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.314/1.314, allocations: 205.1 MB / 408.9 MB, free: 9.695 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.0009311/0.0009311, allocations: 105.7 kB / 485.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009391/0.0009391, allocations: 54.34 kB / 0.558 GB, free: 97.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09521/0.09616, allocations: 75.47 MB / 0.6317 GB, free: 33.02 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5): time 0.503/0.5992, allocations: 356.6 MB / 0.9799 GB, free: 9.059 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.4336/1.033, allocations: 77.6 MB / 1.056 GB, free: 28.05 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01564/1.048, allocations: 423.4 kB / 1.056 GB, free: 28.05 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.01389/1.062, allocations: 3.878 MB / 1.06 GB, free: 27.96 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.03098/1.093, allocations: 10.21 MB / 1.07 GB, free: 27.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01891/1.112, allocations: 6.923 MB / 1.077 GB, free: 27.28 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.04133/1.154, allocations: 38.08 MB / 1.114 GB, free: 19.29 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02066/1.174, allocations: 15.1 MB / 1.129 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02624/1.201, allocations: 12.48 MB / 1.141 GB, free: 10.15 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0249/1.226, allocations: 13.37 MB / 1.154 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.006051/1.232, allocations: 1.078 MB / 1.155 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01566/1.247, allocations: 4.084 MB / 1.159 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.007567/1.255, allocations: 4.257 MB / 1.163 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.01687/1.272, allocations: 7.926 MB / 1.171 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0316/1.304, allocations: 23.64 MB / 1.194 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.304, allocations: 3.938 kB / 1.194 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.515e-06/1.304, allocations: 0 / 1.194 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0005913/1.304, allocations: 7.938 kB / 1.194 GB, free: 6.281 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1489 * Number of variables: 1489 Notification: Performance of Generate backend data structure: time 0.04714/1.351, allocations: 18.2 MB / 1.212 GB, free: 4.148 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/1.351, allocations: 12.03 kB / 1.212 GB, free: 4.137 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/1.362, allocations: 2.246 MB / 1.214 GB, free: 1.871 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0255/1.387, allocations: 12.61 MB / 1.226 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001658/1.389, allocations: 0.7256 MB / 1.227 GB, free: 4.773 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003048/1.392, allocations: 0.681 MB / 1.227 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03739/1.43, allocations: 16.44 MB / 1.243 GB, free: 3.508 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.739e-05/1.43, allocations: 3.938 kB / 1.244 GB, free: 3.504 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009932/1.431, allocations: 244 kB / 1.244 GB, free: 3.266 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/1.431, allocations: 155.9 kB / 1.244 GB, free: 3.113 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04152/1.472, allocations: 21.33 MB / 1.265 GB, free: 13.77 MB / 0.823 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.3247/1.797, allocations: 71.66 MB / 1.335 GB, free: 400.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02661/1.824, allocations: 12.98 MB / 1.347 GB, free: 395.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01106/1.835, allocations: 8.959 MB / 1.356 GB, free: 390.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03617/1.871, allocations: 27.01 MB / 1.382 GB, free: 371.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02227/1.893, allocations: 11.4 MB / 1.394 GB, free: 364.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02242/1.916, allocations: 8.501 MB / 1.402 GB, free: 357.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=385): time 3.188e-05/1.916, allocations: 0 / 1.402 GB, free: 357.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=571): time 1.13/3.046, allocations: 238 MB / 1.634 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.296e-05/3.046, allocations: 111.9 kB / 1.634 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01808/3.064, allocations: 12.27 MB / 1.646 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.002992/3.067, allocations: 177.6 kB / 1.647 GB, free: 107.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.005133/3.072, allocations: 6.002 MB / 1.652 GB, free: 101.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.00374/3.076, allocations: 1.926 MB / 1.654 GB, free: 99.57 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008777/3.085, allocations: 2.375 MB / 1.657 GB, free: 97.19 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 3.682e-05/3.085, allocations: 301.1 kB / 1.657 GB, free: 96.89 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01559/3.101, allocations: 10.31 MB / 1.667 GB, free: 86.56 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01682/3.117, allocations: 12.54 MB / 1.679 GB, free: 73.11 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03371/3.151, allocations: 22.52 MB / 1.701 GB, free: 49.88 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.966e-05/3.151, allocations: 12 kB / 1.701 GB, free: 49.87 MB / 0.8542 GB Notification: Performance of matching and sorting (n=952) (initialization): time 0.9485/4.1, allocations: 136.4 MB / 1.834 GB, free: 351.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.981e-05/4.1, allocations: 54.17 kB / 1.835 GB, free: 351.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.028e-05/4.1, allocations: 44.12 kB / 1.835 GB, free: 351.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6588/4.759, allocations: 138.1 MB / 1.969 GB, free: 219.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00929/4.768, allocations: 1.738 MB / 1.971 GB, free: 217.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2925/5.061, allocations: 147.1 MB / 2.115 GB, free: 70.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.016/5.077, allocations: 1.325 MB / 2.116 GB, free: 69.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002221/5.079, allocations: 0.7838 MB / 2.117 GB, free: 68.34 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01566/5.094, allocations: 11.69 MB / 2.128 GB, free: 56.64 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01236/5.107, allocations: 11.26 MB / 2.139 GB, free: 44.47 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02533/5.132, allocations: 20.16 MB / 2.159 GB, free: 23.61 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.02e-05/5.132, allocations: 20 kB / 2.159 GB, free: 23.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=952) (initialization_lambda0): time 0.8751/6.007, allocations: 123.7 MB / 2.28 GB, free: 334.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.129e-05/6.007, allocations: 57.69 kB / 2.28 GB, free: 334.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.164e-05/6.008, allocations: 48.12 kB / 2.28 GB, free: 334.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6575/6.665, allocations: 136.5 MB / 2.413 GB, free: 198.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007412/6.672, allocations: 1.585 MB / 2.415 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1976/6.87, allocations: 112.7 MB / 2.525 GB, free: 84.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01617/6.886, allocations: 0.9817 MB / 2.526 GB, free: 83.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003741/6.89, allocations: 0.7333 MB / 2.526 GB, free: 82.62 MB / 0.8542 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 (673): * Single equations (assignments): 660 * 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,82,76.0%), (32,39,82.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,83)} Notification: Performance of prepare postOptimizeDAE: time 0.003899/6.894, allocations: 0.5897 MB / 2.527 GB, free: 82.03 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004029/6.898, allocations: 1.19 MB / 2.528 GB, free: 81.48 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2563/7.154, allocations: 60.84 MB / 2.588 GB, free: 20.66 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001154/7.154, allocations: 68 kB / 2.588 GB, free: 20.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000178/7.155, allocations: 48 kB / 2.588 GB, free: 20.55 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5643/7.719, allocations: 55.43 MB / 2.642 GB, free: 336.2 MB / 0.8542 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.2777/7.997, allocations: 75.59 MB / 2.716 GB, free: 319.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.715e-05/7.997, allocations: 5.031 kB / 2.716 GB, free: 319.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007027/8.004, allocations: 1.303 MB / 2.717 GB, free: 318.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2156/8.219, allocations: 49.33 MB / 2.765 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002663/8.222, allocations: 211.8 kB / 2.765 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1971/8.419, allocations: 85.39 MB / 2.849 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/8.419, allocations: 8 kB / 2.849 GB, free: 183.7 MB / 0.8542 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.