Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.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.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic") translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.663/1.663, allocations: 292.3 MB / 308.1 MB, free: 4.301 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.00127/0.00127, allocations: 189.5 kB / 376.9 MB, free: 1.816 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.635/1.635, allocations: 205 MB / 0.6353 GB, free: 9.812 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.001013/0.001013, allocations: 94.95 kB / 0.7479 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 63.89 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2343, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Basic): time 0.7616/0.9959, allocations: 354 MB / 1.328 GB, free: 1.691 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.6614/1.657, allocations: 77.86 MB / 1.404 GB, free: 40.96 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02378/1.681, allocations: 403.5 kB / 1.404 GB, free: 40.96 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0195/1.701, allocations: 4.846 MB / 1.409 GB, free: 40.94 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.045/1.746, allocations: 12.4 MB / 1.421 GB, free: 40.53 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.03269/1.779, allocations: 11.73 MB / 1.433 GB, free: 40.05 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.06573/1.844, allocations: 49.9 MB / 1.481 GB, free: 39.08 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03571/1.88, allocations: 17.86 MB / 1.499 GB, free: 32.86 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03418/1.914, allocations: 15.02 MB / 1.513 GB, free: 27.84 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02718/1.941, allocations: 15.87 MB / 1.529 GB, free: 16.34 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.007945/1.949, allocations: 1.219 MB / 1.53 GB, free: 15.12 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02097/1.97, allocations: 5.004 MB / 1.535 GB, free: 10.37 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.01055/1.981, allocations: 5.316 MB / 1.54 GB, free: 5.293 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.02489/2.006, allocations: 9.843 MB / 1.55 GB, free: 11.64 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.04296/2.049, allocations: 28.91 MB / 1.578 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/2.049, allocations: 0 / 1.578 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.844e-06/2.049, allocations: 0 / 1.578 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.000846/2.05, allocations: 0 / 1.578 GB, free: 15.84 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.05959/2.109, allocations: 22.82 MB / 1.6 GB, free: 9.078 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/2.11, allocations: 12.03 kB / 1.6 GB, free: 9.066 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01262/2.122, allocations: 2.339 MB / 1.603 GB, free: 6.703 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03642/2.159, allocations: 15.74 MB / 1.618 GB, free: 7.266 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007159/2.159, allocations: 0.7319 MB / 1.619 GB, free: 6.535 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004474/2.164, allocations: 1.001 MB / 1.62 GB, free: 5.543 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03605/2.2, allocations: 17.44 MB / 1.637 GB, free: 3.578 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002462/2.2, allocations: 15.78 kB / 1.637 GB, free: 3.562 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00264/2.203, allocations: 356 kB / 1.637 GB, free: 3.215 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001837/2.203, allocations: 216 kB / 1.637 GB, free: 3.004 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03693/2.24, allocations: 20.69 MB / 1.658 GB, free: 14.3 MB / 1.057 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.1406/2.381, allocations: 79.93 MB / 1.736 GB, free: 12.1 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02038/2.401, allocations: 13 MB / 1.748 GB, free: 15.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01506/2.416, allocations: 9.996 MB / 1.758 GB, free: 5.078 MB / 1.151 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.08001/2.496, allocations: 34.86 MB / 1.792 GB, free: 1.949 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4271/2.923, allocations: 10.02 MB / 1.802 GB, free: 494.5 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02925/2.953, allocations: 8.638 MB / 1.81 GB, free: 494.5 MB / 1.182 GB Notification: Performance of pre-optimization done (n=600): time 7.01e-05/2.953, allocations: 4.625 kB / 1.81 GB, free: 494.5 MB / 1.182 GB Notification: Performance of matching and sorting (n=852): time 0.9388/3.891, allocations: 205 MB / 2.01 GB, free: 379.2 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000442/3.892, allocations: 2.534 MB / 2.013 GB, free: 376.1 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02743/3.919, allocations: 15.51 MB / 2.028 GB, free: 360.8 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.005229/3.925, allocations: 269.4 kB / 2.028 GB, free: 360.5 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.009125/3.934, allocations: 7.715 MB / 2.036 GB, free: 353 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.006499/3.94, allocations: 2.957 MB / 2.039 GB, free: 350.1 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01311/3.954, allocations: 3.148 MB / 2.042 GB, free: 346.9 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 4.401e-05/3.954, allocations: 305.1 kB / 2.042 GB, free: 346.6 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02147/3.975, allocations: 12.18 MB / 2.054 GB, free: 334.4 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0245/4, allocations: 15.54 MB / 2.069 GB, free: 317.6 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04588/4.046, allocations: 26.33 MB / 2.095 GB, free: 290.6 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.759e-05/4.046, allocations: 16 kB / 2.095 GB, free: 290.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=1440) (initialization): time 0.6024/4.648, allocations: 119.6 MB / 2.212 GB, free: 170.9 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 9.174e-05/4.648, allocations: 63.97 kB / 2.212 GB, free: 170.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002327/4.649, allocations: 92.55 kB / 2.212 GB, free: 170.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5901/5.239, allocations: 124.7 MB / 2.334 GB, free: 46.12 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0128/5.252, allocations: 2.536 MB / 2.336 GB, free: 43.58 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.617/5.869, allocations: 82.48 MB / 2.417 GB, free: 445.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02049/5.889, allocations: 1.339 MB / 2.418 GB, free: 445.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005076/5.894, allocations: 0.8694 MB / 2.419 GB, free: 445.6 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03253/5.927, allocations: 15.37 MB / 2.434 GB, free: 440.2 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02495/5.952, allocations: 14.99 MB / 2.449 GB, free: 432.5 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05175/6.004, allocations: 25.21 MB / 2.473 GB, free: 421.6 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001104/6.004, allocations: 12.66 kB / 2.473 GB, free: 421.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=1440) (initialization_lambda0): time 0.6028/6.606, allocations: 117.6 MB / 2.588 GB, free: 362.9 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 8.062e-05/6.607, allocations: 49.7 kB / 2.588 GB, free: 362.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002973/6.607, allocations: 99.92 kB / 2.588 GB, free: 362.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5758/7.183, allocations: 124.1 MB / 2.709 GB, free: 238.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01218/7.195, allocations: 2.493 MB / 2.712 GB, free: 236.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1739/7.369, allocations: 88.65 MB / 2.798 GB, free: 147.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02383/7.393, allocations: 1.413 MB / 2.8 GB, free: 146.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005645/7.398, allocations: 0.8269 MB / 2.801 GB, free: 145.7 MB / 1.182 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 (982): * Single equations (assignments): 902 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * 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): 8 systems {1, 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): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(33,119), (33,119)} Notification: Performance of prepare postOptimizeDAE: time 0.008858/7.407, allocations: 0.8005 MB / 2.801 GB, free: 144.9 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008613/7.416, allocations: 1.555 MB / 2.803 GB, free: 144.2 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2151/7.631, allocations: 53.89 MB / 2.855 GB, free: 90.3 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001476/7.631, allocations: 99.98 kB / 2.856 GB, free: 90.2 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001688/7.631, allocations: 32 kB / 2.856 GB, free: 90.17 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1879/7.819, allocations: 47.73 MB / 2.902 GB, free: 42.41 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 postOpt removeSimpleEquations (simulation): time 0.7573/8.577, allocations: 72.94 MB / 2.973 GB, free: 445 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001385/8.577, allocations: 7.281 kB / 2.973 GB, free: 445 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00889/8.586, allocations: 1.645 MB / 2.975 GB, free: 445 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2104/8.796, allocations: 44.77 MB / 3.019 GB, free: 440.7 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003135/8.799, allocations: 352.6 kB / 3.019 GB, free: 440.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06982/8.869, allocations: 41.05 MB / 3.059 GB, free: 422.2 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/8.869, allocations: 6.781 kB / 3.059 GB, free: 422.2 MB / 1.182 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.