Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7249/0.7249, allocations: 133.3 MB / 150.1 MB, free: 11.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 404.7 MB, free: 6.039 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 98.52 kB / 485.9 MB, free: 7.156 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 55.91 kB / 0.5636 GB, free: 69.89 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1273, allocations: 80.43 MB / 0.6421 GB, free: 5.391 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic): time 1.15/1.278, allocations: 371 MB / 1.004 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.05176/1.329, allocations: 47.96 MB / 1.051 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006562/1.336, allocations: 166.7 kB / 1.051 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.007862/1.344, allocations: 2.639 MB / 1.054 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.02166/1.366, allocations: 8.452 MB / 1.062 GB, free: 280 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01054/1.376, allocations: 4.032 MB / 1.066 GB, free: 148 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0213/1.398, allocations: 18.24 MB / 1.084 GB, free: 9.906 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008116/1.406, allocations: 4.157 MB / 1.088 GB, free: 6.672 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01979/1.425, allocations: 6.788 MB / 1.095 GB, free: 1.164 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009685/1.435, allocations: 4.518 MB / 1.099 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.002311/1.438, allocations: 311.9 kB / 1.099 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01946/1.457, allocations: 7.56 MB / 1.107 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.004773/1.462, allocations: 2.437 MB / 1.109 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.008388/1.47, allocations: 3.436 MB / 1.113 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.02329/1.494, allocations: 12.45 MB / 1.125 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.494, allocations: 0 / 1.125 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.703e-06/1.494, allocations: 0 / 1.125 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000353/1.494, allocations: 3.938 kB / 1.125 GB, free: 5.203 MB / 0.7292 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.02298/1.517, allocations: 7.972 MB / 1.133 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/1.517, allocations: 12.03 kB / 1.133 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/1.528, allocations: 1.696 MB / 1.134 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01414/1.542, allocations: 6.375 MB / 1.14 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003367/1.543, allocations: 286.3 kB / 1.141 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001341/1.544, allocations: 374.5 kB / 1.141 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01077/1.555, allocations: 4.428 MB / 1.145 GB, free: 116 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001117/1.555, allocations: 4 kB / 1.145 GB, free: 112 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007796/1.556, allocations: 133.5 kB / 1.146 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001234/1.556, allocations: 122.2 kB / 1.146 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007875/1.564, allocations: 3.299 MB / 1.149 GB, free: 12.57 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.03245/1.596, allocations: 18.78 MB / 1.167 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006012/1.602, allocations: 2.701 MB / 1.17 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002852/1.605, allocations: 1.508 MB / 1.171 GB, free: 4.707 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003946/1.606, allocations: 236.6 kB / 1.172 GB, free: 4.445 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003347/1.609, allocations: 1.952 MB / 1.173 GB, free: 2.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002428/1.611, allocations: 320.4 kB / 1.174 GB, free: 2.168 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=200): time 7.454e-06/1.611, allocations: 0 / 1.174 GB, free: 2.168 MB / 0.7761 GB Notification: Performance of matching and sorting (n=200): time 0.01013/1.621, allocations: 4.354 MB / 1.178 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/1.622, allocations: 77.39 kB / 1.178 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01087/1.632, allocations: 5.885 MB / 1.184 GB, free: 7.805 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0007561/1.633, allocations: 92.36 kB / 1.184 GB, free: 7.711 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.003438/1.637, allocations: 2.727 MB / 1.187 GB, free: 4.98 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001219/1.638, allocations: 0.6944 MB / 1.187 GB, free: 4.289 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001979/1.64, allocations: 0.6704 MB / 1.188 GB, free: 3.613 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.568e-05/1.64, allocations: 309.1 kB / 1.188 GB, free: 3.309 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003438/1.644, allocations: 2.155 MB / 1.19 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004386/1.648, allocations: 3.28 MB / 1.193 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007704/1.656, allocations: 5.409 MB / 1.199 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.301e-05/1.656, allocations: 8 kB / 1.199 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01123/1.667, allocations: 6.281 MB / 1.205 GB, free: 1.477 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.468e-05/1.667, allocations: 46.64 kB / 1.205 GB, free: 1.426 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-05/1.667, allocations: 31.98 kB / 1.205 GB, free: 1.395 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/1.668, allocations: 0.5751 MB / 1.206 GB, free: 0.8164 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003932/1.672, allocations: 0.7282 MB / 1.206 GB, free: 116 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003876/1.676, allocations: 3.742 MB / 1.21 GB, free: 12.25 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005326/1.682, allocations: 328.8 kB / 1.21 GB, free: 11.93 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007116/1.682, allocations: 227.9 kB / 1.21 GB, free: 11.71 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006028/1.688, allocations: 3.102 MB / 1.213 GB, free: 8.598 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003818/1.692, allocations: 2.916 MB / 1.216 GB, free: 5.172 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006968/1.699, allocations: 4.693 MB / 1.221 GB, free: 40 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.714e-05/1.699, allocations: 11.94 kB / 1.221 GB, free: 28 kB / 0.823 GB Notification: Performance of matching and sorting (n=397) (initialization_lambda0): time 0.01004/1.709, allocations: 5.541 MB / 1.226 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.965e-05/1.709, allocations: 41.7 kB / 1.226 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.973e-05/1.709, allocations: 32 kB / 1.226 GB, free: 10.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/1.711, allocations: 0.658 MB / 1.227 GB, free: 9.688 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002957/1.714, allocations: 0.6982 MB / 1.228 GB, free: 8.988 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/1.726, allocations: 8.42 MB / 1.236 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005533/1.731, allocations: 326.7 kB / 1.236 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007282/1.732, allocations: 204 kB / 1.236 GB, free: 15.68 MB / 0.8542 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.001367/1.734, allocations: 371.2 kB / 1.237 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001702/1.735, allocations: 0.5399 MB / 1.237 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007853/1.743, allocations: 3.368 MB / 1.241 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/1.743, allocations: 23.94 kB / 1.241 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.743, allocations: 3.938 kB / 1.241 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005029/1.748, allocations: 2.903 MB / 1.243 GB, free: 8.355 MB / 0.8542 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.01801/1.766, allocations: 7.934 MB / 1.251 GB, free: 324 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/1.766, allocations: 12.03 kB / 1.251 GB, free: 312 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002747/1.769, allocations: 0.5379 MB / 1.252 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006475/1.77, allocations: 277.3 kB / 1.252 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002208/1.77, allocations: 67.95 kB / 1.252 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002364/1.772, allocations: 3.491 MB / 1.256 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.772, allocations: 0 / 1.256 GB, free: 11.81 MB / 0.8698 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.