Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6812/0.6812, allocations: 128.7 MB / 144.5 MB, free: 1.379 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001122, allocations: 181.9 kB / 174.2 MB, free: 5.926 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.234/1.234, allocations: 205 MB / 408.9 MB, free: 9.762 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009133/0.0009133, allocations: 105.6 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 53.39 kB / 0.558 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.103, allocations: 75.47 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6): time 0.505/0.6081, allocations: 356.6 MB / 0.9799 GB, free: 9.066 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.4189/1.027, allocations: 77.61 MB / 1.056 GB, free: 27.38 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01518/1.042, allocations: 427.8 kB / 1.056 GB, free: 27.38 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.01233/1.055, allocations: 3.878 MB / 1.06 GB, free: 27.29 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.02689/1.082, allocations: 10.2 MB / 1.07 GB, free: 26.82 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01715/1.099, allocations: 6.919 MB / 1.077 GB, free: 26.62 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.03598/1.135, allocations: 38.06 MB / 1.114 GB, free: 18.86 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01744/1.152, allocations: 14 MB / 1.127 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02605/1.178, allocations: 10.81 MB / 1.138 GB, free: 12.24 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01801/1.196, allocations: 9.718 MB / 1.148 GB, free: 3.289 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.004279/1.201, allocations: 0.6055 MB / 1.148 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01371/1.214, allocations: 3.615 MB / 1.152 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.005493/1.22, allocations: 3.118 MB / 1.155 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.01466/1.235, allocations: 6.793 MB / 1.161 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.02875/1.263, allocations: 19.34 MB / 1.18 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/1.263, allocations: 0 / 1.18 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.433e-06/1.263, allocations: 3.938 kB / 1.18 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0006956/1.264, allocations: 0 / 1.18 GB, free: 2.773 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: 1489 * Number of variables: 1489 Notification: Performance of Generate backend data structure: time 0.03796/1.302, allocations: 15.45 MB / 1.195 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/1.302, allocations: 12.03 kB / 1.195 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009381/1.312, allocations: 2.102 MB / 1.197 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02608/1.338, allocations: 11.59 MB / 1.209 GB, free: 5.867 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001744/1.339, allocations: 0.7322 MB / 1.209 GB, free: 5.133 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002297/1.342, allocations: 0.668 MB / 1.21 GB, free: 4.465 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03109/1.373, allocations: 11.37 MB / 1.221 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001141/1.373, allocations: 15.88 kB / 1.221 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007532/1.374, allocations: 256 kB / 1.221 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/1.374, allocations: 159.9 kB / 1.222 GB, free: 8.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0299/1.404, allocations: 9.758 MB / 1.231 GB, free: 14.57 MB / 0.7917 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.07209/1.476, allocations: 50.07 MB / 1.28 GB, free: 9.305 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02147/1.497, allocations: 7.909 MB / 1.288 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006323/1.504, allocations: 3.816 MB / 1.291 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02614/1.53, allocations: 12.19 MB / 1.303 GB, free: 1.477 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01795/1.548, allocations: 6.239 MB / 1.309 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007385/1.555, allocations: 1.683 MB / 1.311 GB, free: 9.523 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=318): time 9.217e-06/1.555, allocations: 0 / 1.311 GB, free: 9.523 MB / 0.8698 GB Notification: Performance of matching and sorting (n=504): time 0.8536/2.409, allocations: 93.26 MB / 1.402 GB, free: 388.3 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/2.409, allocations: 107.4 kB / 1.402 GB, free: 388.2 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01404/2.423, allocations: 12.5 MB / 1.414 GB, free: 375.8 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 0.001358/2.425, allocations: 169.7 kB / 1.415 GB, free: 375.6 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 0.00369/2.428, allocations: 6.203 MB / 1.421 GB, free: 369.8 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 0.001579/2.43, allocations: 1.696 MB / 1.422 GB, free: 368.1 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002349/2.432, allocations: 1.673 MB / 1.424 GB, free: 366.5 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 3.98e-05/2.432, allocations: 301.1 kB / 1.424 GB, free: 366.2 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009342/2.442, allocations: 6.1 MB / 1.43 GB, free: 360.1 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/2.452, allocations: 8.648 MB / 1.439 GB, free: 350.3 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02031/2.472, allocations: 14.12 MB / 1.452 GB, free: 335.3 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.933e-05/2.473, allocations: 16 kB / 1.452 GB, free: 335.3 MB / 0.8699 GB Notification: Performance of matching and sorting (n=947) (initialization): time 0.08918/2.562, allocations: 29.39 MB / 1.481 GB, free: 305.8 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 6.557e-05/2.562, allocations: 57.7 kB / 1.481 GB, free: 305.7 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.137e-05/2.562, allocations: 60 kB / 1.481 GB, free: 305.7 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01893/2.581, allocations: 6.793 MB / 1.488 GB, free: 298.9 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009369/2.59, allocations: 1.841 MB / 1.49 GB, free: 297 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1502/2.74, allocations: 64.17 MB / 1.552 GB, free: 232.3 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01453/2.755, allocations: 1.335 MB / 1.554 GB, free: 231 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001749/2.757, allocations: 479.7 kB / 1.554 GB, free: 230.5 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01175/2.769, allocations: 7.462 MB / 1.561 GB, free: 223.1 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008361/2.777, allocations: 7.372 MB / 1.569 GB, free: 214.6 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01544/2.792, allocations: 11.77 MB / 1.58 GB, free: 201.9 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.985e-05/2.793, allocations: 16 kB / 1.58 GB, free: 201.9 MB / 0.8699 GB Notification: Performance of matching and sorting (n=947) (initialization_lambda0): time 0.03046/2.823, allocations: 16.62 MB / 1.596 GB, free: 185.2 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 6.278e-05/2.823, allocations: 65.69 kB / 1.596 GB, free: 185.1 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-05/2.823, allocations: 63.94 kB / 1.597 GB, free: 185.1 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01535/2.839, allocations: 5.048 MB / 1.601 GB, free: 180 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007635/2.846, allocations: 1.693 MB / 1.603 GB, free: 178.3 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04403/2.89, allocations: 29.3 MB / 1.632 GB, free: 148.6 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01157/2.902, allocations: 0.9846 MB / 1.633 GB, free: 147.6 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/2.903, allocations: 427.8 kB / 1.633 GB, free: 147.2 MB / 0.8699 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 (738): * Single equations (assignments): 726 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {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 {(6,81,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,81)} Notification: Performance of prepare postOptimizeDAE: time 0.001721/2.905, allocations: 0.6151 MB / 1.634 GB, free: 146.6 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002101/2.907, allocations: 1.184 MB / 1.635 GB, free: 145.4 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06989/2.977, allocations: 23.45 MB / 1.658 GB, free: 121.8 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.389e-05/2.977, allocations: 63.98 kB / 1.658 GB, free: 121.7 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.35e-05/2.977, allocations: 12.12 kB / 1.658 GB, free: 121.7 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06555/3.042, allocations: 20.9 MB / 1.678 GB, free: 100.7 MB / 0.8699 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.08735/3.13, allocations: 35.49 MB / 1.713 GB, free: 64.96 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.599e-05/3.13, allocations: 4 kB / 1.713 GB, free: 64.96 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006271/3.136, allocations: 1.198 MB / 1.714 GB, free: 63.76 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0178/3.154, allocations: 5.729 MB / 1.72 GB, free: 58.04 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001256/3.155, allocations: 179.8 kB / 1.72 GB, free: 57.86 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4101/3.565, allocations: 53.69 MB / 1.772 GB, free: 397.8 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/3.565, allocations: 6.938 kB / 1.772 GB, free: 397.8 MB / 0.8699 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.