Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.146/2.146, allocations: 391.2 MB / 407 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 187.4 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 109.7 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 56.06 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2798, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic): time 0.9699/1.25, allocations: 371.1 MB / 1.58 GB, free: 3.758 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.06661/1.316, allocations: 48 MB / 1.627 GB, free: 10.52 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009188/1.326, allocations: 170.9 kB / 1.628 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.009878/1.336, allocations: 2.643 MB / 1.63 GB, free: 7.699 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.02921/1.365, allocations: 8.454 MB / 1.638 GB, free: 15.22 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.01341/1.378, allocations: 4.052 MB / 1.642 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.02562/1.404, allocations: 18.25 MB / 1.66 GB, free: 8.887 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01431/1.418, allocations: 4.151 MB / 1.664 GB, free: 4.645 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0297/1.448, allocations: 6.779 MB / 1.671 GB, free: 13.84 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01573/1.464, allocations: 4.541 MB / 1.675 GB, free: 9.289 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.003115/1.467, allocations: 308 kB / 1.676 GB, free: 8.988 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02868/1.496, allocations: 7.567 MB / 1.683 GB, free: 1.402 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.006662/1.502, allocations: 2.434 MB / 1.685 GB, free: 14.96 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.01165/1.514, allocations: 3.447 MB / 1.689 GB, free: 11.5 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.03365/1.548, allocations: 12.44 MB / 1.701 GB, free: 15.02 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/1.548, allocations: 4 kB / 1.701 GB, free: 15.02 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.184e-06/1.548, allocations: 0 / 1.701 GB, free: 15.02 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.0003976/1.548, allocations: 0 / 1.701 GB, free: 15.02 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 813 * Number of variables: 813 Notification: Performance of Generate backend data structure: time 0.03178/1.58, allocations: 7.974 MB / 1.709 GB, free: 6.938 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/1.58, allocations: 11.98 kB / 1.709 GB, free: 6.926 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02285/1.603, allocations: 2.04 MB / 1.711 GB, free: 4.875 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0227/1.626, allocations: 6.506 MB / 1.717 GB, free: 14.28 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004105/1.626, allocations: 275.6 kB / 1.717 GB, free: 14.01 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001365/1.628, allocations: 368 kB / 1.718 GB, free: 13.65 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01302/1.641, allocations: 4.541 MB / 1.722 GB, free: 9.02 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/1.641, allocations: 7.938 kB / 1.722 GB, free: 9.012 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004872/1.641, allocations: 136 kB / 1.722 GB, free: 8.879 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001827/1.641, allocations: 126.2 kB / 1.722 GB, free: 8.754 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01055/1.652, allocations: 3.491 MB / 1.726 GB, free: 5.254 MB / 1.073 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.03218/1.684, allocations: 19.04 MB / 1.744 GB, free: 0.9844 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006827/1.691, allocations: 2.915 MB / 1.747 GB, free: 14.06 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003112/1.694, allocations: 1.596 MB / 1.749 GB, free: 12.46 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003968/1.695, allocations: 232.1 kB / 1.749 GB, free: 12.2 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003645/1.698, allocations: 2.061 MB / 1.751 GB, free: 10.12 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002589/1.701, allocations: 321.5 kB / 1.751 GB, free: 9.805 MB / 1.104 GB Notification: Performance of pre-optimization done (n=200): time 7.484e-06/1.701, allocations: 4 kB / 1.751 GB, free: 9.801 MB / 1.104 GB Notification: Performance of matching and sorting (n=200): time 0.01095/1.712, allocations: 4.617 MB / 1.756 GB, free: 5.133 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/1.712, allocations: 69.41 kB / 1.756 GB, free: 5.051 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01133/1.723, allocations: 5.885 MB / 1.762 GB, free: 15.18 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.0007535/1.724, allocations: 81.7 kB / 1.762 GB, free: 15.09 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.003007/1.727, allocations: 2.739 MB / 1.764 GB, free: 12.33 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.001162/1.728, allocations: 0.6931 MB / 1.765 GB, free: 11.63 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001618/1.73, allocations: 0.6703 MB / 1.766 GB, free: 10.95 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 9.986e-05/1.73, allocations: 305.1 kB / 1.766 GB, free: 10.65 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003592/1.734, allocations: 2.244 MB / 1.768 GB, free: 8.395 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004173/1.738, allocations: 3.347 MB / 1.771 GB, free: 4.555 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00742/1.745, allocations: 5.575 MB / 1.777 GB, free: 14.53 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-05/1.745, allocations: 8 kB / 1.777 GB, free: 14.52 MB / 1.135 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01124/1.757, allocations: 6.47 MB / 1.783 GB, free: 8 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 8.913e-05/1.757, allocations: 49.64 kB / 1.783 GB, free: 7.945 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.66e-05/1.757, allocations: 31.94 kB / 1.783 GB, free: 7.914 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/1.758, allocations: 0.5723 MB / 1.784 GB, free: 7.336 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003849/1.762, allocations: 0.7606 MB / 1.785 GB, free: 6.574 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003521/1.765, allocations: 3.749 MB / 1.788 GB, free: 2.703 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005759/1.771, allocations: 383.4 kB / 1.789 GB, free: 2.328 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007084/1.772, allocations: 224 kB / 1.789 GB, free: 2.109 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007312/1.779, allocations: 3.192 MB / 1.792 GB, free: 14.91 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005764/1.785, allocations: 2.99 MB / 1.795 GB, free: 11.42 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008782/1.794, allocations: 4.849 MB / 1.8 GB, free: 6.133 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.593e-05/1.794, allocations: 12 kB / 1.8 GB, free: 6.121 MB / 1.151 GB Notification: Performance of matching and sorting (n=397) (initialization_lambda0): time 0.0124/1.806, allocations: 5.71 MB / 1.805 GB, free: 360 kB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.549e-05/1.807, allocations: 43.73 kB / 1.805 GB, free: 312 kB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.874e-05/1.807, allocations: 32 kB / 1.805 GB, free: 280 kB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001833/1.808, allocations: 0.6616 MB / 1.806 GB, free: 15.61 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003501/1.812, allocations: 0.7372 MB / 1.807 GB, free: 14.87 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/1.823, allocations: 8.433 MB / 1.815 GB, free: 6.051 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005602/1.829, allocations: 379.8 kB / 1.815 GB, free: 5.68 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007483/1.83, allocations: 204 kB / 1.815 GB, free: 5.48 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (348): * Single equations (assignments): 338 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * 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.001359/1.831, allocations: 379.2 kB / 1.816 GB, free: 5.102 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001709/1.833, allocations: 0.5477 MB / 1.816 GB, free: 4.543 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00902/1.842, allocations: 3.541 MB / 1.82 GB, free: 0.9805 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/1.842, allocations: 20 kB / 1.82 GB, free: 0.9609 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.842, allocations: 3.938 kB / 1.82 GB, free: 0.957 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005724/1.848, allocations: 3.083 MB / 1.823 GB, free: 13.78 MB / 1.182 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.01833/1.866, allocations: 8.231 MB / 1.831 GB, free: 5.387 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/1.866, allocations: 12.02 kB / 1.831 GB, free: 5.375 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002837/1.869, allocations: 0.5578 MB / 1.831 GB, free: 4.816 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006245/1.87, allocations: 273.5 kB / 1.832 GB, free: 4.543 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000252/1.87, allocations: 75.89 kB / 1.832 GB, free: 4.469 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/1.872, allocations: 3.499 MB / 1.835 GB, free: 0.8477 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.872, allocations: 7.938 kB / 1.835 GB, free: 0.8398 MB / 1.182 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.