Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8787/0.8787, allocations: 143.4 MB / 159.2 MB, free: 4.859 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 184.4 kB / 191.9 MB, free: 5.734 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 447.3 MB, free: 5.867 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 99.75 kB / 0.517 GB, free: 3.734 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001909/0.001909, allocations: 277.4 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001416, allocations: 79.89 kB / 0.6885 GB, free: 3.863 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2949, allocations: 81.29 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic): time 0.6378/0.9327, allocations: 371 MB / 1.13 GB, free: 9.621 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.05703/0.9898, allocations: 47.91 MB / 1.177 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008068/0.9979, allocations: 159.1 kB / 1.177 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00945/1.007, allocations: 2.635 MB / 1.18 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.5309/1.538, allocations: 8.421 MB / 1.188 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0126/1.551, allocations: 4.02 MB / 1.192 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.02742/1.578, allocations: 18.17 MB / 1.21 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009526/1.588, allocations: 4.134 MB / 1.214 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0199/1.608, allocations: 6.768 MB / 1.22 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01204/1.62, allocations: 4.525 MB / 1.225 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.002483/1.623, allocations: 307.5 kB / 1.225 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0197/1.642, allocations: 7.566 MB / 1.232 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.006422/1.649, allocations: 2.428 MB / 1.235 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0116/1.66, allocations: 3.436 MB / 1.238 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.02807/1.688, allocations: 12.43 MB / 1.25 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/1.689, allocations: 0 / 1.25 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.118e-06/1.689, allocations: 3.562 kB / 1.25 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0006206/1.689, allocations: 0 / 1.25 GB, free: 1.629 MB / 0.7448 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.02891/1.718, allocations: 7.958 MB / 1.258 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/1.718, allocations: 14.72 kB / 1.258 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/1.731, allocations: 1.686 MB / 1.26 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01785/1.749, allocations: 6.33 MB / 1.266 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004535/1.749, allocations: 282.5 kB / 1.266 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002658/1.752, allocations: 374.3 kB / 1.266 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01394/1.766, allocations: 4.428 MB / 1.271 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001768/1.766, allocations: 6.75 kB / 1.271 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001186/1.768, allocations: 130 kB / 1.271 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001824/1.768, allocations: 130.3 kB / 1.271 GB, free: 10 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009309/1.777, allocations: 3.294 MB / 1.274 GB, free: 9.504 MB / 0.7605 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.03731/1.814, allocations: 18.77 MB / 1.293 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006215/1.821, allocations: 2.695 MB / 1.295 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00296/1.824, allocations: 1.514 MB / 1.297 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004472/1.824, allocations: 229.9 kB / 1.297 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003538/1.828, allocations: 1.957 MB / 1.299 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003104/1.831, allocations: 316.3 kB / 1.299 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=200): time 1.289e-05/1.831, allocations: 3.984 kB / 1.299 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of matching and sorting (n=200): time 0.01114/1.842, allocations: 4.351 MB / 1.303 GB, free: 3.707 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/1.842, allocations: 73.41 kB / 1.303 GB, free: 3.621 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01272/1.855, allocations: 5.856 MB / 1.309 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.001056/1.856, allocations: 87.58 kB / 1.309 GB, free: 15.38 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.003999/1.86, allocations: 2.721 MB / 1.312 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001406/1.861, allocations: 0.706 MB / 1.313 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002299/1.864, allocations: 0.6691 MB / 1.313 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.718e-05/1.864, allocations: 301.1 kB / 1.314 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003766/1.868, allocations: 2.156 MB / 1.316 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004549/1.872, allocations: 3.288 MB / 1.319 GB, free: 7.914 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008403/1.881, allocations: 5.408 MB / 1.324 GB, free: 2.184 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.895e-05/1.881, allocations: 8 kB / 1.324 GB, free: 2.176 MB / 0.7917 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01283/1.894, allocations: 6.292 MB / 1.33 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.527e-05/1.894, allocations: 41.7 kB / 1.33 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-05/1.894, allocations: 40.12 kB / 1.33 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/1.895, allocations: 0.56 MB / 1.331 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003754/1.899, allocations: 0.7304 MB / 1.332 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003667/1.902, allocations: 3.753 MB / 1.335 GB, free: 6.824 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005865/1.908, allocations: 327.1 kB / 1.336 GB, free: 6.508 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000666/1.909, allocations: 220 kB / 1.336 GB, free: 6.293 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006049/1.915, allocations: 3.102 MB / 1.339 GB, free: 3.184 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003825/1.919, allocations: 2.914 MB / 1.342 GB, free: 15.77 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006462/1.925, allocations: 4.689 MB / 1.346 GB, free: 10.77 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.954e-05/1.925, allocations: 8 kB / 1.346 GB, free: 10.76 MB / 0.823 GB Notification: Performance of matching and sorting (n=397) (initialization_lambda0): time 0.009954/1.935, allocations: 5.536 MB / 1.352 GB, free: 5.34 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.938e-05/1.935, allocations: 49.7 kB / 1.352 GB, free: 5.285 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-05/1.935, allocations: 31.94 kB / 1.352 GB, free: 5.254 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001755/1.937, allocations: 0.6611 MB / 1.352 GB, free: 4.59 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00298/1.94, allocations: 0.697 MB / 1.353 GB, free: 3.934 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/1.951, allocations: 8.427 MB / 1.361 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005564/1.957, allocations: 323.9 kB / 1.362 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006748/1.958, allocations: 196 kB / 1.362 GB, free: 10.69 MB / 0.8386 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.001186/1.959, allocations: 391.7 kB / 1.362 GB, free: 10.35 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001577/1.96, allocations: 0.536 MB / 1.363 GB, free: 9.809 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00753/1.968, allocations: 3.35 MB / 1.366 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/1.968, allocations: 20 kB / 1.366 GB, free: 6.426 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.968, allocations: 4 kB / 1.366 GB, free: 6.422 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004785/1.973, allocations: 2.917 MB / 1.369 GB, free: 3.426 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.01938/1.992, allocations: 7.926 MB / 1.377 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/1.992, allocations: 4 kB / 1.377 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002848/1.995, allocations: 0.547 MB / 1.377 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006983/1.996, allocations: 265.4 kB / 1.377 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003535/1.996, allocations: 67.95 kB / 1.377 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00275/1.999, allocations: 3.498 MB / 1.381 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.999, allocations: 4.031 kB / 1.381 GB, free: 6.945 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.