Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7782/0.7782, allocations: 143.4 MB / 159.2 MB, free: 4.891 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 187.7 kB / 191.9 MB, free: 5.738 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 447.3 MB, free: 5.871 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 115.1 kB / 0.517 GB, free: 3.719 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001969/0.001969, allocations: 272 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 79.89 kB / 0.6885 GB, free: 3.836 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3018, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified6): time 0.6037/0.9056, allocations: 353.1 MB / 1.113 GB, free: 2.531 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.5156/1.421, allocations: 72.84 MB / 1.184 GB, free: 20.9 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01325/1.434, allocations: 375.1 kB / 1.184 GB, free: 20.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.01222/1.447, allocations: 3.88 MB / 1.188 GB, free: 20.89 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.02712/1.474, allocations: 10.25 MB / 1.198 GB, free: 20.77 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01721/1.491, allocations: 7.132 MB / 1.205 GB, free: 20.59 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.04534/1.536, allocations: 38.39 MB / 1.242 GB, free: 20.51 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02473/1.561, allocations: 14.3 MB / 1.256 GB, free: 16.46 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03011/1.591, allocations: 11.08 MB / 1.267 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01929/1.611, allocations: 9.839 MB / 1.277 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.004554/1.615, allocations: 0.6133 MB / 1.277 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01456/1.63, allocations: 3.755 MB / 1.281 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.005923/1.636, allocations: 3.164 MB / 1.284 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.01647/1.652, allocations: 6.897 MB / 1.291 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.02813/1.681, allocations: 18.78 MB / 1.309 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.681, allocations: 0 / 1.309 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.694e-06/1.681, allocations: 0 / 1.309 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.000666/1.681, allocations: 0 / 1.309 GB, free: 11.47 MB / 0.7605 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.0404/1.722, allocations: 15.71 MB / 1.325 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/1.722, allocations: 8.031 kB / 1.325 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009774/1.732, allocations: 2.129 MB / 1.327 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02943/1.761, allocations: 11.57 MB / 1.338 GB, free: 2.219 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002035/1.763, allocations: 0.7438 MB / 1.339 GB, free: 1.477 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003376/1.766, allocations: 0.6855 MB / 1.339 GB, free: 0.793 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02801/1.794, allocations: 8.959 MB / 1.348 GB, free: 7.512 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004641/1.795, allocations: 19.81 kB / 1.348 GB, free: 7.492 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003393/1.798, allocations: 255.6 kB / 1.348 GB, free: 7.246 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001825/1.799, allocations: 156 kB / 1.349 GB, free: 7.094 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01966/1.818, allocations: 7.404 MB / 1.356 GB, free: 15.68 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.08397/1.902, allocations: 50.08 MB / 1.405 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01136/1.914, allocations: 5.478 MB / 1.41 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007384/1.921, allocations: 3.91 MB / 1.414 GB, free: 1.344 MB / 0.8542 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.03418/1.955, allocations: 13.23 MB / 1.427 GB, free: 3.961 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00796/1.963, allocations: 3.717 MB / 1.43 GB, free: 212 kB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009005/1.972, allocations: 1.65 MB / 1.432 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=320): time 1.465e-05/1.972, allocations: 0 / 1.432 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of matching and sorting (n=506): time 0.1889/2.161, allocations: 53.49 MB / 1.484 GB, free: 8.32 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/2.162, allocations: 107.4 kB / 1.484 GB, free: 8.203 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02046/2.182, allocations: 12.74 MB / 1.497 GB, free: 11.52 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001394/2.183, allocations: 161.7 kB / 1.497 GB, free: 11.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005303/2.189, allocations: 6.156 MB / 1.503 GB, free: 5.215 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001935/2.191, allocations: 1.703 MB / 1.505 GB, free: 3.527 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002712/2.193, allocations: 1.688 MB / 1.506 GB, free: 1.832 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.677e-05/2.193, allocations: 305.1 kB / 1.507 GB, free: 1.531 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.299/2.492, allocations: 5.854 MB / 1.512 GB, free: 481.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0155/2.508, allocations: 8.415 MB / 1.521 GB, free: 478.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02354/2.532, allocations: 13.57 MB / 1.534 GB, free: 472.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.148e-05/2.532, allocations: 15.78 kB / 1.534 GB, free: 472.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=953) (initialization): time 0.0412/2.573, allocations: 18.67 MB / 1.552 GB, free: 466.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/2.573, allocations: 67.67 kB / 1.552 GB, free: 466.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001037/2.573, allocations: 56.47 kB / 1.552 GB, free: 466.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01443/2.588, allocations: 4.792 MB / 1.557 GB, free: 465.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01068/2.598, allocations: 2.019 MB / 1.559 GB, free: 465.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/2.609, allocations: 10.91 MB / 1.569 GB, free: 456.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01325/2.623, allocations: 1.186 MB / 1.571 GB, free: 455 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00172/2.624, allocations: 467.3 kB / 1.571 GB, free: 454.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01539/2.64, allocations: 8.105 MB / 1.579 GB, free: 446.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0116/2.651, allocations: 7.956 MB / 1.587 GB, free: 437.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02117/2.673, allocations: 12.68 MB / 1.599 GB, free: 424 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.734e-05/2.673, allocations: 20 kB / 1.599 GB, free: 424 MB / 0.948 GB Notification: Performance of matching and sorting (n=953) (initialization_lambda0): time 0.03723/2.71, allocations: 17.2 MB / 1.616 GB, free: 407.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.206e-05/2.71, allocations: 61.7 kB / 1.616 GB, free: 407.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.478e-05/2.71, allocations: 63.98 kB / 1.616 GB, free: 407.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01155/2.722, allocations: 4.351 MB / 1.62 GB, free: 402.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009364/2.731, allocations: 2.008 MB / 1.622 GB, free: 400.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02014/2.751, allocations: 15.35 MB / 1.637 GB, free: 385.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0132/2.765, allocations: 1.212 MB / 1.638 GB, free: 384.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001814/2.766, allocations: 431.8 kB / 1.639 GB, free: 383.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (748): * Single equations (assignments): 735 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (7,78)} Notification: Performance of prepare postOptimizeDAE: time 0.00295/2.769, allocations: 0.6237 MB / 1.639 GB, free: 383.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003268/2.773, allocations: 1.202 MB / 1.641 GB, free: 382.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03446/2.807, allocations: 14.93 MB / 1.655 GB, free: 367.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-05/2.807, allocations: 60 kB / 1.655 GB, free: 367.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/2.807, allocations: 0 / 1.655 GB, free: 367.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02558/2.833, allocations: 12.27 MB / 1.667 GB, free: 355.2 MB / 0.948 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.05054/2.883, allocations: 26.26 MB / 1.693 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.231e-05/2.883, allocations: 4 kB / 1.693 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006024/2.889, allocations: 1.221 MB / 1.694 GB, free: 327.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009249/2.899, allocations: 3.285 MB / 1.697 GB, free: 324.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006922/2.899, allocations: 167.9 kB / 1.697 GB, free: 324 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007663/2.907, allocations: 9.589 MB / 1.707 GB, free: 314.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/2.907, allocations: 12.03 kB / 1.707 GB, free: 314.2 MB / 0.948 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.