Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.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.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7003/0.7003, allocations: 128.7 MB / 144.5 MB, free: 1.387 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.00114/0.00114, allocations: 191.5 kB / 174.2 MB, free: 5.938 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.325/1.325, allocations: 205 MB / 408.9 MB, free: 9.715 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.0009559/0.0009559, allocations: 105.9 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009673/0.0009673, allocations: 59.53 kB / 0.558 GB, free: 97.58 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1145, allocations: 75.49 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3): time 0.5203/0.6349, allocations: 356.5 MB / 0.9798 GB, free: 9.195 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.4626/1.097, allocations: 77.6 MB / 1.056 GB, free: 27.45 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01558/1.113, allocations: 424.5 kB / 1.056 GB, free: 27.45 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0169/1.13, allocations: 4.834 MB / 1.061 GB, free: 27.34 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.03734/1.167, allocations: 12.37 MB / 1.073 GB, free: 26.8 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02959/1.197, allocations: 11.18 MB / 1.084 GB, free: 26.32 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.04974/1.247, allocations: 49.35 MB / 1.132 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02896/1.276, allocations: 17.5 MB / 1.149 GB, free: 1.406 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03277/1.309, allocations: 14.72 MB / 1.163 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02869/1.337, allocations: 15.69 MB / 1.179 GB, free: 4.824 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.007639/1.345, allocations: 1.205 MB / 1.18 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01963/1.365, allocations: 4.975 MB / 1.185 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.009616/1.374, allocations: 5.227 MB / 1.19 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0219/1.396, allocations: 9.706 MB / 1.199 GB, free: 380 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.04322/1.44, allocations: 29.71 MB / 1.228 GB, free: 3.73 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.44, allocations: 0 / 1.228 GB, free: 3.73 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.244e-06/1.44, allocations: 0 / 1.228 GB, free: 3.73 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.001316/1.441, allocations: 0 / 1.228 GB, free: 3.73 MB / 0.7761 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.06162/1.503, allocations: 22.57 MB / 1.25 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/1.503, allocations: 8.031 kB / 1.25 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/1.515, allocations: 2.32 MB / 1.253 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03461/1.549, allocations: 15.58 MB / 1.268 GB, free: 11.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007897/1.55, allocations: 0.7079 MB / 1.269 GB, free: 10.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004507/1.555, allocations: 0.9658 MB / 1.269 GB, free: 9.938 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04993/1.605, allocations: 19.64 MB / 1.289 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003627/1.605, allocations: 15.84 kB / 1.289 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003556/1.609, allocations: 355.1 kB / 1.289 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002173/1.609, allocations: 215.9 kB / 1.289 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5117/2.121, allocations: 22.93 MB / 1.312 GB, free: 406.9 MB / 0.8543 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.12/2.241, allocations: 80.8 MB / 1.391 GB, free: 352.9 MB / 0.8543 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02713/2.268, allocations: 14.78 MB / 1.405 GB, free: 344.8 MB / 0.8543 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01174/2.28, allocations: 9.713 MB / 1.414 GB, free: 335.3 MB / 0.8543 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.0553/2.335, allocations: 32.1 MB / 1.446 GB, free: 303.4 MB / 0.8543 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02369/2.359, allocations: 12.18 MB / 1.458 GB, free: 291.2 MB / 0.8543 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02275/2.381, allocations: 8.64 MB / 1.466 GB, free: 283.3 MB / 0.8543 GB Notification: Performance of pre-optimization done (n=552): time 2.538e-05/2.382, allocations: 0 / 1.466 GB, free: 283.3 MB / 0.8543 GB Notification: Performance of matching and sorting (n=761): time 1.02/3.402, allocations: 226.2 MB / 1.687 GB, free: 56.38 MB / 0.8543 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004374/3.402, allocations: 2.522 MB / 1.689 GB, free: 53.27 MB / 0.8543 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02249/3.425, allocations: 15.46 MB / 1.705 GB, free: 37.93 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 0.003429/3.428, allocations: 245.5 kB / 1.705 GB, free: 37.69 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.006433/3.435, allocations: 7.794 MB / 1.712 GB, free: 29.9 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 0.004169/3.439, allocations: 2.641 MB / 1.715 GB, free: 27.28 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005621/3.445, allocations: 3.051 MB / 1.718 GB, free: 24.23 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 3.764e-05/3.445, allocations: 309.1 kB / 1.718 GB, free: 23.93 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01712/3.462, allocations: 11.9 MB / 1.73 GB, free: 12.02 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5068/3.969, allocations: 15.18 MB / 1.745 GB, free: 367.8 MB / 0.8544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04182/4.01, allocations: 25.96 MB / 1.77 GB, free: 360.1 MB / 0.8544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.253e-05/4.011, allocations: 15.81 kB / 1.77 GB, free: 360.1 MB / 0.8544 GB Notification: Performance of matching and sorting (n=1383) (initialization): time 0.5823/4.593, allocations: 127.3 MB / 1.894 GB, free: 279.4 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 9.622e-05/4.593, allocations: 64.66 kB / 1.894 GB, free: 279.3 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002101/4.593, allocations: 103.9 kB / 1.895 GB, free: 279.2 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5534/5.147, allocations: 119.8 MB / 2.012 GB, free: 159.8 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01201/5.159, allocations: 2.5 MB / 2.014 GB, free: 157.3 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2714/5.43, allocations: 129.6 MB / 2.141 GB, free: 27.76 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2927/5.723, allocations: 1.484 MB / 2.142 GB, free: 345.6 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004174/5.727, allocations: 0.8697 MB / 2.143 GB, free: 345.6 MB / 0.8544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02364/5.751, allocations: 14.3 MB / 2.157 GB, free: 345.5 MB / 0.8544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01869/5.769, allocations: 13.9 MB / 2.17 GB, free: 339.4 MB / 0.8544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03256/5.802, allocations: 23.62 MB / 2.193 GB, free: 328.6 MB / 0.8544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001089/5.802, allocations: 15.16 kB / 2.193 GB, free: 328.6 MB / 0.8544 GB Notification: Performance of matching and sorting (n=1383) (initialization_lambda0): time 0.5429/6.345, allocations: 114.5 MB / 2.305 GB, free: 262.5 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/6.345, allocations: 57.69 kB / 2.305 GB, free: 262.5 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002159/6.345, allocations: 103.9 kB / 2.305 GB, free: 262.4 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5508/6.896, allocations: 118.2 MB / 2.421 GB, free: 144.5 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00978/6.906, allocations: 2.352 MB / 2.423 GB, free: 142.1 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1576/7.064, allocations: 95.25 MB / 2.516 GB, free: 47 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0162/7.08, allocations: 1.173 MB / 2.517 GB, free: 45.89 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002931/7.083, allocations: 0.8193 MB / 2.518 GB, free: 45.07 MB / 0.8544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (1059): * Single equations (assignments): 982 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 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): 2 systems {(4,81,87.5%), (28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,81)} Notification: Performance of prepare postOptimizeDAE: time 0.003848/7.087, allocations: 0.7863 MB / 2.519 GB, free: 44.31 MB / 0.8544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004076/7.091, allocations: 1.517 MB / 2.52 GB, free: 43.61 MB / 0.8544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.509/7.6, allocations: 58.94 MB / 2.578 GB, free: 342.2 MB / 0.8544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-05/7.6, allocations: 91.56 kB / 2.578 GB, free: 342.2 MB / 0.8544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001674/7.6, allocations: 42.44 kB / 2.578 GB, free: 342.2 MB / 0.8544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2148/7.815, allocations: 53.11 MB / 2.63 GB, free: 332.5 MB / 0.8544 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.2433/8.058, allocations: 76.19 MB / 2.704 GB, free: 257.2 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001098/8.058, allocations: 4 kB / 2.704 GB, free: 257.2 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008915/8.067, allocations: 1.658 MB / 2.706 GB, free: 255.5 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1883/8.256, allocations: 43.42 MB / 2.748 GB, free: 212.4 MB / 0.8544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002958/8.259, allocations: 352.2 kB / 2.749 GB, free: 212 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1667/8.425, allocations: 79.11 MB / 2.826 GB, free: 132.7 MB / 0.8544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/8.425, allocations: 5.297 kB / 2.826 GB, free: 132.7 MB / 0.8544 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.