Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.727/1.727, 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.001352/0.001352, allocations: 188.9 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.61/1.61, allocations: 205.1 MB / 0.6354 GB, free: 9.801 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.001027/0.001027, allocations: 100.8 kB / 0.748 GB, free: 61.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 59.91 kB / 0.8703 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2518, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 0.8936/1.146, allocations: 354 MB / 1.328 GB, free: 1.629 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.6907/1.836, allocations: 77.86 MB / 1.404 GB, free: 40.97 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01589/1.852, allocations: 403.4 kB / 1.404 GB, free: 40.97 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0153/1.868, allocations: 4.838 MB / 1.409 GB, free: 40.96 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.03679/1.904, allocations: 12.41 MB / 1.421 GB, free: 40.54 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0294/1.934, allocations: 11.72 MB / 1.433 GB, free: 40.06 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.05512/1.989, allocations: 49.71 MB / 1.481 GB, free: 39.09 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03012/2.019, allocations: 17.83 MB / 1.499 GB, free: 32.83 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03471/2.054, allocations: 14.97 MB / 1.513 GB, free: 27.83 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02712/2.081, allocations: 15.84 MB / 1.529 GB, free: 16.51 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.008182/2.089, allocations: 1.215 MB / 1.53 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02021/2.109, allocations: 5 MB / 1.535 GB, free: 10.55 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.009376/2.119, allocations: 5.289 MB / 1.54 GB, free: 5.5 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.02365/2.143, allocations: 9.814 MB / 1.55 GB, free: 11.88 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.04844/2.191, allocations: 28.8 MB / 1.578 GB, free: 172 kB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/2.191, allocations: 0 / 1.578 GB, free: 172 kB / 0.9636 GB Notification: Performance of FrontEnd: time 1.172e-06/2.191, allocations: 0 / 1.578 GB, free: 172 kB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0008642/2.192, allocations: 0 / 1.578 GB, free: 172 kB / 0.9636 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.06404/2.256, allocations: 22.78 MB / 1.6 GB, free: 9.441 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/2.256, allocations: 12.03 kB / 1.6 GB, free: 9.43 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/2.268, allocations: 2.339 MB / 1.602 GB, free: 7.066 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03873/2.307, allocations: 15.7 MB / 1.618 GB, free: 7.672 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007454/2.307, allocations: 0.7206 MB / 1.618 GB, free: 6.953 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00471/2.312, allocations: 0.9931 MB / 1.619 GB, free: 5.969 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04154/2.354, allocations: 17.3 MB / 1.636 GB, free: 4.137 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003454/2.354, allocations: 15.78 kB / 1.636 GB, free: 4.121 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003967/2.358, allocations: 359.9 kB / 1.636 GB, free: 3.773 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000222/2.358, allocations: 216 kB / 1.637 GB, free: 3.562 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03886/2.397, allocations: 20.6 MB / 1.657 GB, free: 14.95 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.2221/2.619, allocations: 80.74 MB / 1.736 GB, free: 11.65 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03481/2.654, allocations: 12.63 MB / 1.748 GB, free: 15.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02562/2.68, allocations: 9.504 MB / 1.757 GB, free: 5.688 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.1219/2.802, allocations: 34.23 MB / 1.791 GB, free: 3.156 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02858/2.83, allocations: 9.783 MB / 1.8 GB, free: 9.305 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04725/2.878, allocations: 8.645 MB / 1.809 GB, free: 0.8203 MB / 1.198 GB Notification: Performance of pre-optimization done (n=576): time 5.417e-05/2.878, allocations: 0 / 1.809 GB, free: 0.8203 MB / 1.198 GB Notification: Performance of matching and sorting (n=804): time 1.596/4.474, allocations: 194.1 MB / 1.998 GB, free: 418.5 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005665/4.474, allocations: 2.534 MB / 2.001 GB, free: 415.4 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.033/4.507, allocations: 15.56 MB / 2.016 GB, free: 400 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.004136/4.511, allocations: 252.2 kB / 2.016 GB, free: 399.8 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.008119/4.519, allocations: 7.8 MB / 2.024 GB, free: 392.4 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.004896/4.524, allocations: 2.798 MB / 2.026 GB, free: 389.6 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01192/4.536, allocations: 3.096 MB / 2.029 GB, free: 386.5 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 4.246e-05/4.536, allocations: 305.1 kB / 2.03 GB, free: 386.2 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0203/4.557, allocations: 11.93 MB / 2.041 GB, free: 374.2 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02432/4.581, allocations: 15.24 MB / 2.056 GB, free: 357.8 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04681/4.628, allocations: 25.92 MB / 2.082 GB, free: 331.1 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.478e-05/4.628, allocations: 16 kB / 2.082 GB, free: 331.1 MB / 1.198 GB Notification: Performance of matching and sorting (n=1416) (initialization): time 0.5656/5.194, allocations: 117.5 MB / 2.196 GB, free: 213.5 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 9.389e-05/5.194, allocations: 58.47 kB / 2.196 GB, free: 213.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000219/5.194, allocations: 103.9 kB / 2.197 GB, free: 213.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5552/5.749, allocations: 119.8 MB / 2.313 GB, free: 93.65 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01399/5.763, allocations: 2.735 MB / 2.316 GB, free: 90.92 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06/6.823, allocations: 79.93 MB / 2.394 GB, free: 463.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02468/6.848, allocations: 1.358 MB / 2.396 GB, free: 463.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005604/6.854, allocations: 0.8664 MB / 2.396 GB, free: 463.4 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04207/6.896, allocations: 15.18 MB / 2.411 GB, free: 463.3 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02711/6.923, allocations: 14.77 MB / 2.426 GB, free: 456 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04648/6.969, allocations: 24.99 MB / 2.45 GB, free: 445.1 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001195/6.97, allocations: 12.69 kB / 2.45 GB, free: 445.1 MB / 1.198 GB Notification: Performance of matching and sorting (n=1416) (initialization_lambda0): time 0.5921/7.562, allocations: 115.9 MB / 2.563 GB, free: 419.2 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001799/7.562, allocations: 51.14 kB / 2.563 GB, free: 419.1 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003062/7.562, allocations: 104.7 kB / 2.563 GB, free: 419.1 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5665/8.129, allocations: 118.8 MB / 2.679 GB, free: 305.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01272/8.141, allocations: 2.687 MB / 2.682 GB, free: 302.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1571/8.299, allocations: 83.45 MB / 2.764 GB, free: 219.3 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02111/8.32, allocations: 1.418 MB / 2.765 GB, free: 218 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00518/8.325, allocations: 0.832 MB / 2.766 GB, free: 217.1 MB / 1.198 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 (1054): * Single equations (assignments): 974 * 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 {(39,65), (39,65)} Notification: Performance of prepare postOptimizeDAE: time 0.009456/8.334, allocations: 0.7953 MB / 2.767 GB, free: 216.4 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01015/8.345, allocations: 1.542 MB / 2.768 GB, free: 215.7 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2099/8.555, allocations: 51.63 MB / 2.818 GB, free: 164.2 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001536/8.555, allocations: 96 kB / 2.819 GB, free: 164.1 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000202/8.555, allocations: 32 kB / 2.819 GB, free: 164.1 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1851/8.74, allocations: 45.56 MB / 2.863 GB, free: 118.6 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.2274/8.968, allocations: 69.67 MB / 2.931 GB, free: 49.15 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001003/8.968, allocations: 3.938 kB / 2.931 GB, free: 49.15 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009749/8.977, allocations: 1.793 MB / 2.933 GB, free: 47.36 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.7697/9.747, allocations: 42.12 MB / 2.974 GB, free: 449.8 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00312/9.75, allocations: 339.2 kB / 2.974 GB, free: 449.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06994/9.82, allocations: 38.12 MB / 3.012 GB, free: 440.7 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/9.82, allocations: 1.594 kB / 3.012 GB, free: 440.7 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.