Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.149/2.149, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 194.8 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 106.1 kB / 0.9329 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 50.66 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2387, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 0.7724/1.011, allocations: 353.2 MB / 1.563 GB, free: 21.38 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0908/1.102, allocations: 73.11 MB / 1.634 GB, free: 384 kB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01492/1.117, allocations: 401.5 kB / 1.635 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.01365/1.131, allocations: 3.869 MB / 1.639 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.03342/1.164, allocations: 10.3 MB / 1.649 GB, free: 1.766 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0194/1.184, allocations: 7.157 MB / 1.656 GB, free: 10.67 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.04615/1.23, allocations: 38.52 MB / 1.693 GB, free: 4.039 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02622/1.256, allocations: 15.41 MB / 1.708 GB, free: 4.492 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03685/1.293, allocations: 12.79 MB / 1.721 GB, free: 7.656 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02414/1.317, allocations: 13.5 MB / 1.734 GB, free: 10.11 MB / 1.073 GB Notification: Performance of NFPackage.collectConstants: time 0.006637/1.324, allocations: 1.086 MB / 1.735 GB, free: 9.02 MB / 1.073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01718/1.341, allocations: 4.22 MB / 1.739 GB, free: 4.793 MB / 1.073 GB Notification: Performance of NFScalarize.scalarize: time 0.009089/1.35, allocations: 4.301 MB / 1.743 GB, free: 488 kB / 1.073 GB Notification: Performance of NFVerifyModel.verify: time 0.02096/1.371, allocations: 8.027 MB / 1.751 GB, free: 8.41 MB / 1.089 GB Notification: Performance of NFConvertDAE.convert: time 0.03989/1.411, allocations: 23.01 MB / 1.774 GB, free: 1.336 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/1.411, allocations: 0 / 1.774 GB, free: 1.336 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.464e-06/1.411, allocations: 0 / 1.774 GB, free: 1.336 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.0008937/1.412, allocations: 0 / 1.774 GB, free: 1.336 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.05449/1.466, allocations: 18.5 MB / 1.792 GB, free: 14.69 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/1.467, allocations: 15.98 kB / 1.792 GB, free: 14.67 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01474/1.481, allocations: 2.609 MB / 1.794 GB, free: 12.04 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03217/1.514, allocations: 12.81 MB / 1.807 GB, free: 15.14 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001747/1.515, allocations: 0.7403 MB / 1.807 GB, free: 14.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003836/1.519, allocations: 0.6797 MB / 1.808 GB, free: 13.72 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03481/1.554, allocations: 14.14 MB / 1.822 GB, free: 15.44 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002922/1.554, allocations: 3.938 kB / 1.822 GB, free: 15.43 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003133/1.558, allocations: 248 kB / 1.822 GB, free: 15.19 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/1.558, allocations: 151.9 kB / 1.822 GB, free: 15.04 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03886/1.597, allocations: 19.16 MB / 1.841 GB, free: 11.87 MB / 1.182 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 1.024/2.621, allocations: 72.16 MB / 1.911 GB, free: 443.3 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01795/2.639, allocations: 10.74 MB / 1.922 GB, free: 438.7 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01381/2.653, allocations: 9.142 MB / 1.931 GB, free: 434.9 MB / 1.214 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.06313/2.716, allocations: 30.71 MB / 1.961 GB, free: 414.3 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01587/2.732, allocations: 8.964 MB / 1.97 GB, free: 408.8 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02541/2.757, allocations: 8.575 MB / 1.978 GB, free: 402.4 MB / 1.214 GB Notification: Performance of pre-optimization done (n=387): time 4.049e-05/2.758, allocations: 0 / 1.978 GB, free: 402.4 MB / 1.214 GB Notification: Performance of matching and sorting (n=573): time 0.8805/3.638, allocations: 203.5 MB / 2.177 GB, free: 199.4 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/3.638, allocations: 115.9 kB / 2.177 GB, free: 199.3 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01923/3.657, allocations: 12.55 MB / 2.189 GB, free: 186.8 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.002911/3.66, allocations: 169.7 kB / 2.189 GB, free: 186.6 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.005168/3.666, allocations: 5.944 MB / 2.195 GB, free: 180.7 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.003762/3.669, allocations: 1.934 MB / 2.197 GB, free: 178.8 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009566/3.679, allocations: 2.398 MB / 2.199 GB, free: 176.4 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 3.866e-05/3.679, allocations: 309.1 kB / 2.2 GB, free: 176.1 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01735/3.696, allocations: 10.17 MB / 2.21 GB, free: 165.9 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01991/3.716, allocations: 12.39 MB / 2.222 GB, free: 152.6 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03582/3.752, allocations: 22.16 MB / 2.243 GB, free: 129.7 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.821e-05/3.752, allocations: 12 kB / 2.243 GB, free: 129.7 MB / 1.214 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.6155/4.368, allocations: 125.9 MB / 2.366 GB, free: 3.723 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 8.292e-05/4.368, allocations: 57.69 kB / 2.366 GB, free: 3.66 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.876e-05/4.368, allocations: 44 kB / 2.366 GB, free: 3.617 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129/5.497, allocations: 136.2 MB / 2.499 GB, free: 358.5 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01101/5.508, allocations: 1.948 MB / 2.501 GB, free: 356.6 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1693/5.677, allocations: 94.08 MB / 2.593 GB, free: 262.5 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01958/5.697, allocations: 1.204 MB / 2.594 GB, free: 261.3 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00532/5.702, allocations: 0.7684 MB / 2.595 GB, free: 260.6 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02701/5.729, allocations: 12.43 MB / 2.607 GB, free: 248.1 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01888/5.748, allocations: 11.94 MB / 2.619 GB, free: 235.3 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03669/5.785, allocations: 21.28 MB / 2.64 GB, free: 213.3 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.46e-05/5.785, allocations: 16 kB / 2.64 GB, free: 213.2 MB / 1.214 GB Notification: Performance of matching and sorting (n=958) (initialization_lambda0): time 0.6077/6.393, allocations: 124.4 MB / 2.761 GB, free: 89.38 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 9.049e-05/6.393, allocations: 54.62 kB / 2.761 GB, free: 89.32 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.349e-05/6.393, allocations: 48 kB / 2.761 GB, free: 89.28 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181/7.574, allocations: 135.7 MB / 2.894 GB, free: 404.8 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009273/7.583, allocations: 1.928 MB / 2.896 GB, free: 404.7 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1762/7.759, allocations: 97.88 MB / 2.991 GB, free: 333.4 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01747/7.777, allocations: 1.232 MB / 2.992 GB, free: 332.2 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003682/7.78, allocations: 0.7411 MB / 2.993 GB, free: 331.4 MB / 1.214 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 (683): * Single equations (assignments): 669 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {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): 1 system {(32,39,82.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(7,78), (8,77)} Notification: Performance of prepare postOptimizeDAE: time 0.003507/7.784, allocations: 0.5916 MB / 2.994 GB, free: 330.9 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004219/7.788, allocations: 1.201 MB / 2.995 GB, free: 330.3 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2062/7.994, allocations: 52.52 MB / 3.046 GB, free: 278.1 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001227/7.994, allocations: 71.98 kB / 3.046 GB, free: 278 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001241/7.995, allocations: 38.95 kB / 3.046 GB, free: 278 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1923/8.187, allocations: 46.93 MB / 3.092 GB, free: 231.1 MB / 1.214 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.229/8.416, allocations: 66.62 MB / 3.157 GB, free: 164.5 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.624e-05/8.416, allocations: 4 kB / 3.157 GB, free: 164.5 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007418/8.424, allocations: 1.366 MB / 3.158 GB, free: 163.2 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.205/8.629, allocations: 46.92 MB / 3.204 GB, free: 116.2 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002039/8.631, allocations: 195.9 kB / 3.204 GB, free: 116 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0758/8.706, allocations: 41.57 MB / 3.245 GB, free: 74.32 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/8.706, allocations: 12.03 kB / 3.245 GB, free: 74.3 MB / 1.214 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.