Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.768/1.768, allocations: 292.3 MB / 308.1 MB, free: 4.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001672/0.001672, allocations: 187.7 kB / 376.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205 MB / 0.6354 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009725/0.0009727, allocations: 93.27 kB / 0.748 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 60.09 kB / 0.8703 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2607, allocations: 114.6 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic): time 1.007/1.268, allocations: 371.3 MB / 1.345 GB, free: 108 kB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.8341/2.102, allocations: 51.28 MB / 1.395 GB, free: 1.867 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0131/2.115, allocations: 167.9 kB / 1.395 GB, free: 1.867 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.01251/2.128, allocations: 2.778 MB / 1.398 GB, free: 1.859 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0343/2.162, allocations: 8.415 MB / 1.406 GB, free: 1.648 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.01876/2.181, allocations: 5.552 MB / 1.411 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.02958/2.211, allocations: 18.34 MB / 1.429 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01154/2.222, allocations: 4.163 MB / 1.433 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02271/2.245, allocations: 6.797 MB / 1.44 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0143/2.259, allocations: 4.534 MB / 1.444 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.003974/2.263, allocations: 307.6 kB / 1.445 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02427/2.288, allocations: 7.694 MB / 1.452 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.00756/2.295, allocations: 2.455 MB / 1.455 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.01721/2.312, allocations: 3.472 MB / 1.458 GB, free: 15.41 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.03532/2.348, allocations: 12.62 MB / 1.47 GB, free: 11.06 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.428e-05/2.348, allocations: 0 / 1.47 GB, free: 11.06 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.298e-06/2.348, allocations: 2.75 kB / 1.47 GB, free: 11.06 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008765/2.349, allocations: 0 / 1.47 GB, free: 11.06 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 817 * Number of variables: 817 Notification: Performance of Generate backend data structure: time 0.03673/2.386, allocations: 8.076 MB / 1.478 GB, free: 6.625 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.263e-05/2.386, allocations: 10.12 kB / 1.478 GB, free: 6.625 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0133/2.399, allocations: 1.702 MB / 1.48 GB, free: 5.875 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01925/2.418, allocations: 6.37 MB / 1.486 GB, free: 3.539 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000663/2.419, allocations: 286.6 kB / 1.486 GB, free: 3.527 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002834/2.422, allocations: 386.1 kB / 1.487 GB, free: 3.523 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01581/2.438, allocations: 4.527 MB / 1.491 GB, free: 2.328 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001776/2.438, allocations: 7.844 kB / 1.491 GB, free: 2.32 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001297/2.439, allocations: 134.6 kB / 1.491 GB, free: 2.32 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001629/2.439, allocations: 118.9 kB / 1.491 GB, free: 2.309 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009917/2.449, allocations: 3.287 MB / 1.495 GB, free: 1.812 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 preOpt removeSimpleEquations (simulation): time 0.0451/2.495, allocations: 18.83 MB / 1.513 GB, free: 4.422 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007478/2.502, allocations: 2.725 MB / 1.516 GB, free: 2.707 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003554/2.506, allocations: 1.503 MB / 1.517 GB, free: 1.707 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005586/2.506, allocations: 227.8 kB / 1.517 GB, free: 1.461 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004411/2.511, allocations: 1.97 MB / 1.519 GB, free: 96 kB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004585/2.515, allocations: 338.7 kB / 1.52 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=200): time 1.808e-05/2.515, allocations: 0 / 1.52 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of matching and sorting (n=200): time 0.01379/2.529, allocations: 4.379 MB / 1.524 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002109/2.529, allocations: 364.1 kB / 1.524 GB, free: 11.63 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01606/2.546, allocations: 5.964 MB / 1.53 GB, free: 5.68 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001157/2.547, allocations: 90.64 kB / 1.53 GB, free: 5.586 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.004798/2.552, allocations: 2.787 MB / 1.533 GB, free: 2.809 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001712/2.553, allocations: 0.6856 MB / 1.534 GB, free: 2.129 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003347/2.557, allocations: 0.7118 MB / 1.534 GB, free: 1.414 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001045/2.557, allocations: 301.1 kB / 1.535 GB, free: 1.117 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004397/2.561, allocations: 2.218 MB / 1.537 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005315/2.567, allocations: 3.431 MB / 1.54 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009324/2.576, allocations: 5.527 MB / 1.545 GB, free: 5.109 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.096e-05/2.576, allocations: 8 kB / 1.546 GB, free: 5.102 MB / 0.9948 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.01502/2.591, allocations: 6.421 MB / 1.552 GB, free: 14.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/2.591, allocations: 46.7 kB / 1.552 GB, free: 14.75 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001131/2.591, allocations: 35.98 kB / 1.552 GB, free: 14.71 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/2.593, allocations: 0.5741 MB / 1.552 GB, free: 14.14 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003929/2.597, allocations: 0.7105 MB / 1.553 GB, free: 13.47 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0038/2.601, allocations: 3.749 MB / 1.557 GB, free: 9.625 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006636/2.607, allocations: 329.3 kB / 1.557 GB, free: 9.309 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008302/2.608, allocations: 235.9 kB / 1.557 GB, free: 9.078 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007547/2.616, allocations: 3.184 MB / 1.56 GB, free: 5.887 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004848/2.621, allocations: 3.064 MB / 1.563 GB, free: 2.297 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008012/2.629, allocations: 4.798 MB / 1.568 GB, free: 13.18 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.498e-05/2.629, allocations: 12.94 kB / 1.568 GB, free: 13.17 MB / 1.026 GB Notification: Performance of matching and sorting (n=413) (initialization_lambda0): time 0.01246/2.641, allocations: 5.704 MB / 1.574 GB, free: 7.586 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 6.565e-05/2.641, allocations: 45.69 kB / 1.574 GB, free: 7.535 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.114e-05/2.641, allocations: 32.09 kB / 1.574 GB, free: 7.504 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001806/2.643, allocations: 0.6702 MB / 1.574 GB, free: 6.832 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003/2.646, allocations: 0.6847 MB / 1.575 GB, free: 6.191 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/2.659, allocations: 8.4 MB / 1.583 GB, free: 13.52 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008088/2.667, allocations: 330.8 kB / 1.584 GB, free: 13.2 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001388/2.668, allocations: 204 kB / 1.584 GB, free: 13 MB / 1.042 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 (356): * Single equations (assignments): 338 * 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.002637/2.671, allocations: 388.3 kB / 1.584 GB, free: 12.66 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003285/2.674, allocations: 0.5554 MB / 1.585 GB, free: 12.1 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/2.685, allocations: 3.38 MB / 1.588 GB, free: 8.73 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.177e-05/2.685, allocations: 24 kB / 1.588 GB, free: 8.707 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/2.685, allocations: 3.5 kB / 1.588 GB, free: 8.707 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00546/2.69, allocations: 2.927 MB / 1.591 GB, free: 5.695 MB / 1.042 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.02369/2.714, allocations: 7.972 MB / 1.599 GB, free: 13.66 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/2.714, allocations: 0 / 1.599 GB, free: 13.66 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002889/2.717, allocations: 0.5467 MB / 1.599 GB, free: 13.13 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006982/2.718, allocations: 273.7 kB / 1.599 GB, free: 12.87 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003924/2.718, allocations: 63.97 kB / 1.6 GB, free: 12.8 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002356/2.721, allocations: 3.507 MB / 1.603 GB, free: 9.191 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/2.721, allocations: 4 kB / 1.603 GB, free: 9.188 MB / 1.057 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.