Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified2.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified2") translateModel(IBPSA.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 189.1 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4715/0.4715, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 222.9 MB / 349.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001405, allocations: 121.3 kB / 420 MB, free: 8.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 47.91 kB / 0.4891 GB, free: 7.691 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3714, allocations: 70.06 MB / 0.5575 GB, free: 44.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.FlowSystem.Simplified2): time 0.6188/0.9902, allocations: 353 MB / 0.9023 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.5729/1.563, allocations: 73.02 MB / 0.9736 GB, free: 19.55 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0177/1.581, allocations: 392 kB / 0.9739 GB, free: 19.55 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.01651/1.597, allocations: 4.426 MB / 0.9783 GB, free: 19.55 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.03964/1.637, allocations: 12.54 MB / 0.9905 GB, free: 19.21 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.02332/1.661, allocations: 8.915 MB / 0.9992 GB, free: 18.98 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0602/1.721, allocations: 48.62 MB / 1.047 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0342/1.755, allocations: 17.58 MB / 1.064 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04001/1.795, allocations: 14.71 MB / 1.078 GB, free: 5.551 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03341/1.829, allocations: 15.77 MB / 1.094 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.009506/1.838, allocations: 1.215 MB / 1.095 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02393/1.862, allocations: 4.876 MB / 1.1 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0129/1.875, allocations: 5.108 MB / 1.105 GB, free: 13.7 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0259/1.901, allocations: 9.535 MB / 1.114 GB, free: 4.352 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.04636/1.947, allocations: 28 MB / 1.141 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.947, allocations: 0 / 1.141 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.023e-06/1.947, allocations: 0 / 1.141 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.001058/1.948, allocations: 0 / 1.141 GB, free: 9.422 MB / 0.7292 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.07207/2.02, allocations: 22.14 MB / 1.163 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/2.021, allocations: 12.03 kB / 1.163 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01735/2.038, allocations: 2.578 MB / 1.165 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04289/2.081, allocations: 15.69 MB / 1.181 GB, free: 1.328 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008216/2.082, allocations: 0.6795 MB / 1.181 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005381/2.087, allocations: 0.9335 MB / 1.182 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0428/2.13, allocations: 16.56 MB / 1.198 GB, free: 14.99 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003661/2.13, allocations: 15.94 kB / 1.198 GB, free: 14.97 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003656/2.134, allocations: 327 kB / 1.199 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004625/2.134, allocations: 367.2 kB / 1.199 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04414/2.179, allocations: 21.12 MB / 1.22 GB, free: 9.168 MB / 0.8073 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.7307/2.909, allocations: 80.77 MB / 1.299 GB, free: 400.8 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02309/2.933, allocations: 12.89 MB / 1.311 GB, free: 393.6 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01451/2.947, allocations: 9.6 MB / 1.321 GB, free: 388 MB / 0.8387 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.07458/3.022, allocations: 34.48 MB / 1.354 GB, free: 358.7 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01641/3.038, allocations: 9.818 MB / 1.364 GB, free: 348.8 MB / 0.8387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02595/3.064, allocations: 8.556 MB / 1.372 GB, free: 341.3 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=576): time 3.57e-05/3.064, allocations: 0 / 1.372 GB, free: 341.3 MB / 0.8387 GB Notification: Performance of matching and sorting (n=868): time 1.129/4.193, allocations: 274.9 MB / 1.641 GB, free: 66.93 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1345/4.328, allocations: 55.41 MB / 1.695 GB, free: 10.42 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5372/4.865, allocations: 14.81 MB / 1.709 GB, free: 389.5 MB / 0.8388 GB Notification: Performance of collectPreVariables (initialization): time 0.004577/4.87, allocations: 224.6 kB / 1.709 GB, free: 389.4 MB / 0.8388 GB Notification: Performance of collectInitialEqns (initialization): time 0.009292/4.879, allocations: 7.207 MB / 1.716 GB, free: 386.5 MB / 0.8388 GB Notification: Performance of collectInitialBindings (initialization): time 0.009392/4.888, allocations: 3.095 MB / 1.72 GB, free: 385.7 MB / 0.8388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01666/4.905, allocations: 3.742 MB / 1.723 GB, free: 384.9 MB / 0.8388 GB Notification: Performance of setup shared object (initialization): time 4.7e-05/4.905, allocations: 304.9 kB / 1.723 GB, free: 384.6 MB / 0.8388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03051/4.936, allocations: 20.6 MB / 1.744 GB, free: 378.6 MB / 0.8388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03612/4.972, allocations: 23.22 MB / 1.766 GB, free: 369.8 MB / 0.8388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06416/5.036, allocations: 38.82 MB / 1.804 GB, free: 348.8 MB / 0.8388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.553e-05/5.036, allocations: 12 kB / 1.804 GB, free: 348.8 MB / 0.8388 GB Notification: Performance of matching and sorting (n=1384) (initialization): time 0.5841/5.62, allocations: 135.4 MB / 1.936 GB, free: 214.6 MB / 0.8388 GB Notification: Performance of prepare postOptimizeDAE: time 9.547e-05/5.62, allocations: 53.7 kB / 1.936 GB, free: 214.5 MB / 0.8388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000101/5.62, allocations: 48 kB / 1.936 GB, free: 214.5 MB / 0.8388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5768/6.197, allocations: 119 MB / 2.053 GB, free: 95.59 MB / 0.8388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01799/6.215, allocations: 3.4 MB / 2.056 GB, free: 92.18 MB / 0.8388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5145/6.73, allocations: 79.72 MB / 2.134 GB, free: 367.7 MB / 0.8388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1807/6.91, allocations: 8.046 MB / 2.142 GB, free: 367.7 MB / 0.8388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00847/6.919, allocations: 1.405 MB / 2.143 GB, free: 367.7 MB / 0.8388 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.05513/6.974, allocations: 23.62 MB / 2.166 GB, free: 364.3 MB / 0.8388 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03147/7.006, allocations: 22.75 MB / 2.188 GB, free: 355.6 MB / 0.8388 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0578/7.063, allocations: 37.9 MB / 2.225 GB, free: 342.1 MB / 0.8388 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.704e-05/7.064, allocations: 15.16 kB / 2.225 GB, free: 342.1 MB / 0.8388 GB Notification: Performance of matching and sorting (n=1384) (initialization_lambda0): time 0.5958/7.659, allocations: 133.8 MB / 2.356 GB, free: 214.8 MB / 0.8388 GB Notification: Performance of prepare postOptimizeDAE: time 9.416e-05/7.66, allocations: 59.58 kB / 2.356 GB, free: 214.7 MB / 0.8388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.899e-05/7.66, allocations: 56.86 kB / 2.356 GB, free: 214.7 MB / 0.8388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5598/8.219, allocations: 118.6 MB / 2.472 GB, free: 96.45 MB / 0.8388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01629/8.236, allocations: 3.358 MB / 2.475 GB, free: 93.09 MB / 0.8388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4705/8.706, allocations: 83.19 MB / 2.556 GB, free: 355.4 MB / 0.8388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.125/8.831, allocations: 8.079 MB / 2.564 GB, free: 355.4 MB / 0.8388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006711/8.838, allocations: 1.369 MB / 2.566 GB, free: 355.4 MB / 0.8388 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.007806/8.846, allocations: 0.7266 MB / 2.566 GB, free: 355.2 MB / 0.8388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006744/8.853, allocations: 1.479 MB / 2.568 GB, free: 355.2 MB / 0.8388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2158/9.068, allocations: 63.34 MB / 2.63 GB, free: 345 MB / 0.8388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.219/9.287, allocations: 71.87 MB / 2.7 GB, free: 287.4 MB / 0.8388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001752/9.288, allocations: 28 kB / 2.7 GB, free: 287.4 MB / 0.8388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2028/9.49, allocations: 71.04 MB / 2.769 GB, free: 216.3 MB / 0.8388 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.2983/9.789, allocations: 156.3 MB / 2.922 GB, free: 60.01 MB / 0.8388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.437e-05/9.789, allocations: 4.125 kB / 2.922 GB, free: 60 MB / 0.8388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01156/9.8, allocations: 2.024 MB / 2.924 GB, free: 57.98 MB / 0.8388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6869/10.49, allocations: 97.38 MB / 3.019 GB, free: 346.3 MB / 0.8388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003754/10.49, allocations: 0.6507 MB / 3.02 GB, free: 346.3 MB / 0.8388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1191/10.61, allocations: 61.02 MB / 3.079 GB, free: 321.8 MB / 0.8388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1145/10.72, allocations: 46.48 MB / 3.125 GB, free: 275 MB / 0.8388 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.