Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.753/1.753, allocations: 292.3 MB / 308.1 MB, free: 4.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001427/0.001427, allocations: 191.8 kB / 376.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.1 MB / 0.6354 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009989/0.0009989, allocations: 96.17 kB / 0.748 GB, free: 61.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2526, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 0.7881/1.041, allocations: 354.1 MB / 1.328 GB, free: 1.516 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.7263/1.767, allocations: 77.88 MB / 1.404 GB, free: 40.93 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01951/1.787, allocations: 404 kB / 1.404 GB, free: 40.93 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.01522/1.802, allocations: 3.885 MB / 1.408 GB, free: 40.92 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.03201/1.834, allocations: 10.22 MB / 1.418 GB, free: 40.61 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.02145/1.855, allocations: 7.125 MB / 1.425 GB, free: 40.38 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.04903/1.905, allocations: 38.27 MB / 1.463 GB, free: 40.25 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03168/1.936, allocations: 15.34 MB / 1.478 GB, free: 38.02 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04028/1.977, allocations: 12.7 MB / 1.49 GB, free: 35.45 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0303/2.007, allocations: 13.43 MB / 1.503 GB, free: 30.63 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.008427/2.015, allocations: 1.083 MB / 1.504 GB, free: 30.63 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0225/2.038, allocations: 4.215 MB / 1.508 GB, free: 29.71 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.01025/2.048, allocations: 4.283 MB / 1.512 GB, free: 28.01 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.02204/2.07, allocations: 7.986 MB / 1.52 GB, free: 22.46 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.03844/2.109, allocations: 22.88 MB / 1.543 GB, free: 2.738 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/2.109, allocations: 0 / 1.543 GB, free: 2.738 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.703e-06/2.109, allocations: 11.78 kB / 1.543 GB, free: 2.73 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000945/2.11, allocations: 0 / 1.543 GB, free: 2.73 MB / 0.9323 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.05799/2.168, allocations: 18.36 MB / 1.561 GB, free: 440 kB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/2.168, allocations: 8.031 kB / 1.561 GB, free: 432 kB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01355/2.181, allocations: 2.258 MB / 1.563 GB, free: 14.14 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03501/2.217, allocations: 12.59 MB / 1.575 GB, free: 1.793 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001983/2.219, allocations: 0.7442 MB / 1.576 GB, free: 1.047 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00461/2.223, allocations: 0.6784 MB / 1.576 GB, free: 380 kB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03635/2.26, allocations: 14.04 MB / 1.59 GB, free: 2.188 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002655/2.26, allocations: 7.938 kB / 1.59 GB, free: 2.18 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003069/2.263, allocations: 248 kB / 1.59 GB, free: 1.938 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001414/2.263, allocations: 144 kB / 1.591 GB, free: 1.797 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03781/2.301, allocations: 18.97 MB / 1.609 GB, free: 14.82 MB / 1.01 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.126/2.427, allocations: 71.82 MB / 1.679 GB, free: 4.438 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01789/2.445, allocations: 10.56 MB / 1.689 GB, free: 10.09 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01941/2.464, allocations: 9.044 MB / 1.698 GB, free: 1.047 MB / 1.089 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.06934/2.534, allocations: 30.6 MB / 1.728 GB, free: 2.199 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01524/2.549, allocations: 8.865 MB / 1.737 GB, free: 9.301 MB / 1.135 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02794/2.577, allocations: 8.576 MB / 1.745 GB, free: 0.8867 MB / 1.135 GB Notification: Performance of pre-optimization done (n=387): time 3.636e-05/2.577, allocations: 0 / 1.745 GB, free: 0.8867 MB / 1.135 GB Notification: Performance of matching and sorting (n=573): time 1.801/4.378, allocations: 203 MB / 1.944 GB, free: 472.7 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/4.378, allocations: 124.5 kB / 1.944 GB, free: 472.6 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02261/4.401, allocations: 12.37 MB / 1.956 GB, free: 466.5 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.003597/4.404, allocations: 170.2 kB / 1.956 GB, free: 466.4 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.007635/4.412, allocations: 5.942 MB / 1.962 GB, free: 461.5 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.004634/4.417, allocations: 1.935 MB / 1.964 GB, free: 459.8 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01105/4.428, allocations: 2.376 MB / 1.966 GB, free: 458.2 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 5.785e-05/4.428, allocations: 305.1 kB / 1.966 GB, free: 457.9 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01867/4.447, allocations: 10.1 MB / 1.976 GB, free: 447.8 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02474/4.471, allocations: 12.31 MB / 1.988 GB, free: 434.6 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06641/4.538, allocations: 22.01 MB / 2.01 GB, free: 412.1 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.766e-05/4.538, allocations: 17.06 kB / 2.01 GB, free: 412.1 MB / 1.198 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.6496/5.188, allocations: 125.7 MB / 2.132 GB, free: 286.3 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 8.405e-05/5.188, allocations: 50.64 kB / 2.132 GB, free: 286.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.867e-05/5.188, allocations: 51.39 kB / 2.132 GB, free: 286.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.675/5.863, allocations: 136.2 MB / 2.265 GB, free: 150.1 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01175/5.875, allocations: 1.911 MB / 2.267 GB, free: 148.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1849/6.059, allocations: 94.08 MB / 2.359 GB, free: 53.74 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01846/6.078, allocations: 1.178 MB / 2.36 GB, free: 52.56 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004365/6.082, allocations: 0.7677 MB / 2.361 GB, free: 51.8 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02683/6.109, allocations: 12.32 MB / 2.373 GB, free: 39.46 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01913/6.128, allocations: 11.86 MB / 2.385 GB, free: 26.69 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5304/6.659, allocations: 21.11 MB / 2.405 GB, free: 491.4 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.829e-05/6.659, allocations: 13.53 kB / 2.405 GB, free: 491.4 MB / 1.198 GB Notification: Performance of matching and sorting (n=958) (initialization_lambda0): time 0.6558/7.315, allocations: 124.2 MB / 2.527 GB, free: 460.9 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-05/7.315, allocations: 55.16 kB / 2.527 GB, free: 460.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.163e-05/7.315, allocations: 46.62 kB / 2.527 GB, free: 460.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6837/7.999, allocations: 135.7 MB / 2.659 GB, free: 333.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009671/8.008, allocations: 1.897 MB / 2.661 GB, free: 331.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1896/8.198, allocations: 97.89 MB / 2.757 GB, free: 233.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01967/8.218, allocations: 1.195 MB / 2.758 GB, free: 232 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00389/8.222, allocations: 0.7372 MB / 2.759 GB, free: 231.2 MB / 1.198 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.004021/8.226, allocations: 0.5937 MB / 2.759 GB, free: 230.6 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004902/8.231, allocations: 1.192 MB / 2.76 GB, free: 229.4 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2317/8.462, allocations: 52.31 MB / 2.811 GB, free: 177.2 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001193/8.463, allocations: 82.06 kB / 2.811 GB, free: 177.2 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001729/8.463, allocations: 32 kB / 2.811 GB, free: 177.1 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2112/8.674, allocations: 46.75 MB / 2.857 GB, free: 130.4 MB / 1.198 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.2706/8.945, allocations: 66.35 MB / 2.922 GB, free: 64.12 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001008/8.945, allocations: 4.688 kB / 2.922 GB, free: 64.12 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007329/8.952, allocations: 1.315 MB / 2.923 GB, free: 62.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.826/9.778, allocations: 46.92 MB / 2.969 GB, free: 461.6 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002808/9.781, allocations: 194.4 kB / 2.969 GB, free: 461.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09514/9.876, allocations: 41.57 MB / 3.01 GB, free: 453.5 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-05/9.876, allocations: 12.75 kB / 3.01 GB, free: 453.5 MB / 1.198 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.