Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic.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.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6953/0.6953, allocations: 128.7 MB / 144.5 MB, free: 1.363 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.001228/0.001228, allocations: 184.5 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.33/1.33, allocations: 205.1 MB / 408.9 MB, free: 9.688 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.0009739/0.0009739, allocations: 98.09 kB / 485.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 58.45 kB / 0.558 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1502, allocations: 75.47 MB / 0.6317 GB, free: 33.01 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic): time 1.052/1.202, allocations: 381.7 MB / 1.004 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.06675/1.269, allocations: 51.56 MB / 1.055 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008348/1.278, allocations: 178.3 kB / 1.055 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.009119/1.287, allocations: 2.797 MB / 1.058 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.02428/1.311, allocations: 8.435 MB / 1.066 GB, free: 312 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01955/1.331, allocations: 5.551 MB / 1.071 GB, free: 152 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.02565/1.356, allocations: 18.84 MB / 1.09 GB, free: 120 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009534/1.366, allocations: 4.194 MB / 1.094 GB, free: 15.08 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01995/1.386, allocations: 6.829 MB / 1.1 GB, free: 13.49 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01159/1.398, allocations: 4.555 MB / 1.105 GB, free: 12.03 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.003149/1.401, allocations: 310.4 kB / 1.105 GB, free: 12.03 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02014/1.421, allocations: 7.686 MB / 1.113 GB, free: 8.449 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.004812/1.426, allocations: 2.482 MB / 1.115 GB, free: 6.363 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.01107/1.437, allocations: 3.491 MB / 1.119 GB, free: 2.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.02717/1.464, allocations: 13.3 MB / 1.132 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.464, allocations: 0 / 1.132 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.623e-06/1.464, allocations: 0 / 1.132 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004138/1.465, allocations: 4 kB / 1.132 GB, free: 6.301 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 825 * Number of variables: 825 Notification: Performance of Generate backend data structure: time 0.02428/1.489, allocations: 8.11 MB / 1.139 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/1.489, allocations: 19.95 kB / 1.139 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/1.5, allocations: 1.694 MB / 1.141 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01591/1.516, allocations: 6.422 MB / 1.147 GB, free: 6.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003788/1.516, allocations: 284.9 kB / 1.148 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001611/1.518, allocations: 389.4 kB / 1.148 GB, free: 5.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01413/1.532, allocations: 4.944 MB / 1.153 GB, free: 488 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000113/1.532, allocations: 7.281 kB / 1.153 GB, free: 484 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007935/1.533, allocations: 140 kB / 1.153 GB, free: 344 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/1.533, allocations: 118.3 kB / 1.153 GB, free: 224 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/1.543, allocations: 3.681 MB / 1.157 GB, free: 12.55 MB / 0.7448 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.03317/1.576, allocations: 18.88 MB / 1.175 GB, free: 8.809 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00864/1.585, allocations: 3.1 MB / 1.178 GB, free: 5.723 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002988/1.588, allocations: 1.494 MB / 1.18 GB, free: 4.242 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000432/1.588, allocations: 228.3 kB / 1.18 GB, free: 3.988 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005812/1.594, allocations: 2.357 MB / 1.182 GB, free: 1.621 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003354/1.597, allocations: 332.6 kB / 1.182 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=198): time 1.385e-05/1.597, allocations: 0 / 1.182 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of matching and sorting (n=198): time 0.01715/1.615, allocations: 5.285 MB / 1.188 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/1.615, allocations: 364.1 kB / 1.188 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01278/1.628, allocations: 5.977 MB / 1.194 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.001045/1.629, allocations: 87.11 kB / 1.194 GB, free: 5.477 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.003589/1.632, allocations: 2.807 MB / 1.197 GB, free: 2.668 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001336/1.634, allocations: 0.6849 MB / 1.197 GB, free: 1.988 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002128/1.636, allocations: 0.6982 MB / 1.198 GB, free: 1.289 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.726e-05/1.636, allocations: 305.1 kB / 1.198 GB, free: 0.9883 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004141/1.64, allocations: 2.332 MB / 1.201 GB, free: 14.65 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005019/1.645, allocations: 3.51 MB / 1.204 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009058/1.654, allocations: 5.698 MB / 1.21 GB, free: 4.621 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.317e-05/1.654, allocations: 8 kB / 1.21 GB, free: 4.613 MB / 0.7917 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.01294/1.667, allocations: 6.634 MB / 1.216 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.893e-05/1.667, allocations: 45.7 kB / 1.216 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-05/1.667, allocations: 35.98 kB / 1.216 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/1.669, allocations: 0.6141 MB / 1.217 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005381/1.674, allocations: 0.8844 MB / 1.218 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009063/1.683, allocations: 5.1 MB / 1.223 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006686/1.69, allocations: 379.2 kB / 1.223 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008894/1.691, allocations: 227.9 kB / 1.223 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006733/1.698, allocations: 3.196 MB / 1.226 GB, free: 3.453 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004458/1.702, allocations: 3.016 MB / 1.229 GB, free: 15.93 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007079/1.71, allocations: 4.774 MB / 1.234 GB, free: 10.84 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.503e-05/1.71, allocations: 11.94 kB / 1.234 GB, free: 10.83 MB / 0.823 GB Notification: Performance of matching and sorting (n=411) (initialization_lambda0): time 0.01117/1.721, allocations: 5.682 MB / 1.239 GB, free: 5.266 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.703e-05/1.721, allocations: 50.7 kB / 1.24 GB, free: 5.211 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.673e-05/1.721, allocations: 32 kB / 1.24 GB, free: 5.18 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001823/1.723, allocations: 0.6614 MB / 1.24 GB, free: 4.512 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002779/1.726, allocations: 0.6789 MB / 1.241 GB, free: 3.875 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/1.738, allocations: 8.378 MB / 1.249 GB, free: 11.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006017/1.744, allocations: 326.2 kB / 1.249 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008512/1.744, allocations: 200 kB / 1.25 GB, free: 10.68 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * Number of states: 0 () * Number of discrete variables: 5 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (354): * Single equations (assignments): 336 * Array equations: 8 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {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 {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001556/1.746, allocations: 390.3 kB / 1.25 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001928/1.748, allocations: 0.5437 MB / 1.25 GB, free: 9.785 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/1.76, allocations: 3.878 MB / 1.254 GB, free: 5.891 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/1.76, allocations: 20 kB / 1.254 GB, free: 5.871 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/1.76, allocations: 3.938 kB / 1.254 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008646/1.769, allocations: 3.428 MB / 1.258 GB, free: 2.355 MB / 0.8386 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.02245/1.791, allocations: 8.51 MB / 1.266 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/1.791, allocations: 10.75 kB / 1.266 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004195/1.795, allocations: 0.7371 MB / 1.267 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009851/1.796, allocations: 345.4 kB / 1.267 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002967/1.797, allocations: 63.95 kB / 1.267 GB, free: 8.641 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0068/1.803, allocations: 4.747 MB / 1.272 GB, free: 3.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.803, allocations: 2.625 kB / 1.272 GB, free: 3.68 MB / 0.8542 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.