Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified2") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.157/2.157, allocations: 391.2 MB / 407 MB, free: 10.84 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.001301/0.001301, allocations: 191.4 kB / 499.1 MB, free: 4.668 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.612/1.612, allocations: 222.9 MB / 0.7948 GB, free: 15.74 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.001026/0.001026, allocations: 103.8 kB / 0.9329 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 46.91 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2535, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified2): time 0.8717/1.125, allocations: 353.1 MB / 1.563 GB, free: 21.37 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.09295/1.218, allocations: 73.1 MB / 1.634 GB, free: 432 kB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01732/1.236, allocations: 397.5 kB / 1.635 GB, free: 32 kB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.01715/1.253, allocations: 4.413 MB / 1.639 GB, free: 11.6 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.03895/1.292, allocations: 12.57 MB / 1.651 GB, free: 14.99 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.02219/1.314, allocations: 8.895 MB / 1.66 GB, free: 6.168 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.05131/1.365, allocations: 48.6 MB / 1.707 GB, free: 5.434 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02718/1.393, allocations: 17.54 MB / 1.725 GB, free: 3.742 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03045/1.423, allocations: 14.7 MB / 1.739 GB, free: 4.988 MB / 1.073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02678/1.45, allocations: 15.76 MB / 1.754 GB, free: 5.172 MB / 1.089 GB Notification: Performance of NFPackage.collectConstants: time 0.008833/1.459, allocations: 1.215 MB / 1.755 GB, free: 3.957 MB / 1.089 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02034/1.479, allocations: 4.874 MB / 1.76 GB, free: 15.07 MB / 1.104 GB Notification: Performance of NFScalarize.scalarize: time 0.01127/1.49, allocations: 5.119 MB / 1.765 GB, free: 9.938 MB / 1.104 GB Notification: Performance of NFVerifyModel.verify: time 0.02221/1.513, allocations: 9.534 MB / 1.775 GB, free: 364 kB / 1.104 GB Notification: Performance of NFConvertDAE.convert: time 0.04092/1.554, allocations: 27.99 MB / 1.802 GB, free: 4.281 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 9.868e-06/1.554, allocations: 0 / 1.802 GB, free: 4.281 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.614e-06/1.554, allocations: 0 / 1.802 GB, free: 4.281 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.001156/1.555, allocations: 0 / 1.802 GB, free: 4.281 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.06245/1.617, allocations: 22.14 MB / 1.823 GB, free: 13.97 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/1.617, allocations: 15.98 kB / 1.823 GB, free: 13.95 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01436/1.632, allocations: 2.57 MB / 1.826 GB, free: 11.36 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03828/1.67, allocations: 15.69 MB / 1.841 GB, free: 11.54 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007458/1.671, allocations: 0.6822 MB / 1.842 GB, free: 10.85 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004731/1.676, allocations: 0.9333 MB / 1.843 GB, free: 9.918 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03826/1.714, allocations: 16.57 MB / 1.859 GB, free: 9.145 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00035/1.714, allocations: 11.84 kB / 1.859 GB, free: 9.133 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003586/1.718, allocations: 328 kB / 1.859 GB, free: 8.812 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003548/1.718, allocations: 367.2 kB / 1.86 GB, free: 8.453 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04007/1.758, allocations: 21.11 MB / 1.88 GB, free: 3.32 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 removeSimpleEquations (simulation): time 1.069/2.828, allocations: 80.77 MB / 1.959 GB, free: 406.2 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02118/2.849, allocations: 12.89 MB / 1.972 GB, free: 398.9 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01496/2.864, allocations: 9.598 MB / 1.981 GB, free: 393.4 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.07474/2.939, allocations: 34.49 MB / 2.015 GB, free: 360.2 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01631/2.955, allocations: 9.818 MB / 2.024 GB, free: 350.3 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02706/2.982, allocations: 8.56 MB / 2.033 GB, free: 342.5 MB / 1.214 GB Notification: Performance of pre-optimization done (n=576): time 5.106e-05/2.982, allocations: 0 / 2.033 GB, free: 342.5 MB / 1.214 GB Notification: Performance of matching and sorting (n=868): time 1.052/4.034, allocations: 274.9 MB / 2.301 GB, free: 67.05 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1302/4.164, allocations: 55.44 MB / 2.355 GB, free: 10.44 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.973/5.137, allocations: 14.8 MB / 2.37 GB, free: 420 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004463/5.141, allocations: 230.6 kB / 2.37 GB, free: 420 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.008542/5.15, allocations: 7.195 MB / 2.377 GB, free: 417.3 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.009617/5.16, allocations: 3.099 MB / 2.38 GB, free: 416.1 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0169/5.177, allocations: 3.743 MB / 2.384 GB, free: 415.2 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 4.256e-05/5.177, allocations: 301.8 kB / 2.384 GB, free: 414.9 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03271/5.209, allocations: 20.6 MB / 2.404 GB, free: 409 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03652/5.246, allocations: 23.21 MB / 2.427 GB, free: 400.2 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06108/5.307, allocations: 38.82 MB / 2.465 GB, free: 385.1 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.211e-05/5.307, allocations: 16 kB / 2.465 GB, free: 385.1 MB / 1.214 GB Notification: Performance of matching and sorting (n=1384) (initialization): time 0.5821/5.889, allocations: 135.4 MB / 2.597 GB, free: 251.3 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 7.05e-05/5.889, allocations: 61.69 kB / 2.597 GB, free: 251.2 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-05/5.889, allocations: 52 kB / 2.597 GB, free: 251.1 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5921/6.482, allocations: 119 MB / 2.713 GB, free: 132.2 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01779/6.499, allocations: 3.391 MB / 2.717 GB, free: 128.8 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.137/6.636, allocations: 79.72 MB / 2.794 GB, free: 48.72 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1222/6.759, allocations: 8.061 MB / 2.802 GB, free: 40.65 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006677/6.765, allocations: 1.399 MB / 2.804 GB, free: 39.25 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.5627/7.328, allocations: 23.62 MB / 2.827 GB, free: 412.1 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03335/7.362, allocations: 22.75 MB / 2.849 GB, free: 403.8 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05866/7.42, allocations: 37.89 MB / 2.886 GB, free: 390.2 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001532/7.42, allocations: 15.53 kB / 2.886 GB, free: 390.2 MB / 1.214 GB Notification: Performance of matching and sorting (n=1384) (initialization_lambda0): time 0.5876/8.008, allocations: 133.8 MB / 3.017 GB, free: 273.2 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 7.287e-05/8.008, allocations: 49.7 kB / 3.017 GB, free: 273.1 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.182e-05/8.008, allocations: 52 kB / 3.017 GB, free: 273.1 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5662/8.574, allocations: 118.6 MB / 3.133 GB, free: 154.8 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01692/8.591, allocations: 3.351 MB / 3.136 GB, free: 151.5 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1527/8.744, allocations: 83.19 MB / 3.217 GB, free: 68.16 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1194/8.864, allocations: 8.076 MB / 3.225 GB, free: 60.1 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006651/8.87, allocations: 1.364 MB / 3.226 GB, free: 58.73 MB / 1.214 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 (1024): * Single equations (assignments): 1006 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * 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 {(14,90), (14,90)} Notification: Performance of prepare postOptimizeDAE: time 0.006378/8.877, allocations: 0.7416 MB / 3.227 GB, free: 57.99 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006436/8.883, allocations: 1.474 MB / 3.229 GB, free: 57.3 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8127/9.696, allocations: 63.34 MB / 3.29 GB, free: 394.1 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2257/9.922, allocations: 71.87 MB / 3.361 GB, free: 372 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002421/9.922, allocations: 31.94 kB / 3.361 GB, free: 371.9 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2136/10.14, allocations: 71.05 MB / 3.43 GB, free: 300.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 postOpt removeSimpleEquations (simulation): time 0.3039/10.44, allocations: 156.3 MB / 3.583 GB, free: 144.7 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001201/10.44, allocations: 0.75 kB / 3.583 GB, free: 144.7 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01151/10.45, allocations: 2.02 MB / 3.585 GB, free: 142.6 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3738/10.82, allocations: 97.39 MB / 3.68 GB, free: 45.33 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005044/10.83, allocations: 0.6507 MB / 3.68 GB, free: 44.68 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.751/11.58, allocations: 61 MB / 3.74 GB, free: 381.5 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1109/11.69, allocations: 46.49 MB / 3.785 GB, free: 364 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.