Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001845/0.001845, allocations: 183.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/package.mo): time 0.7594/0.7594, allocations: 132.2 MB / 148.9 MB, free: 12.15 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.456/1.456, allocations: 222.9 MB / 403.4 MB, free: 7.09 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.0009801/0.0009801, allocations: 112.8 kB / 484.3 MB, free: 8.738 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009616/0.0009617, allocations: 59.91 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1257, allocations: 80.2 MB / 0.6402 GB, free: 6.805 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic): time 0.9999/1.126, allocations: 371.1 MB / 1.003 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.05/1.176, allocations: 47.97 MB / 1.049 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007145/1.183, allocations: 168.5 kB / 1.05 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.008054/1.191, allocations: 2.64 MB / 1.052 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.02177/1.213, allocations: 8.449 MB / 1.06 GB, free: 288 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01109/1.224, allocations: 4.032 MB / 1.064 GB, free: 184 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.02069/1.245, allocations: 18.24 MB / 1.082 GB, free: 10.53 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007299/1.252, allocations: 4.157 MB / 1.086 GB, free: 7.781 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01528/1.267, allocations: 6.78 MB / 1.093 GB, free: 2.277 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008836/1.276, allocations: 4.536 MB / 1.097 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001817/1.278, allocations: 308 kB / 1.098 GB, free: 14 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01505/1.293, allocations: 7.562 MB / 1.105 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.003491/1.296, allocations: 2.427 MB / 1.107 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.006885/1.303, allocations: 3.448 MB / 1.111 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01791/1.321, allocations: 12.43 MB / 1.123 GB, free: 6.312 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/1.321, allocations: 0 / 1.123 GB, free: 6.312 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.012e-06/1.321, allocations: 0 / 1.123 GB, free: 6.312 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001537/1.321, allocations: 4 kB / 1.123 GB, free: 6.309 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.01519/1.337, allocations: 7.975 MB / 1.131 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/1.337, allocations: 12.03 kB / 1.131 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009493/1.346, allocations: 1.686 MB / 1.132 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01155/1.358, allocations: 6.384 MB / 1.138 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/1.358, allocations: 283.1 kB / 1.139 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006175/1.359, allocations: 371.9 kB / 1.139 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007016/1.366, allocations: 4.437 MB / 1.143 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.616e-05/1.366, allocations: 7 kB / 1.143 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002976/1.366, allocations: 131.5 kB / 1.144 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-05/1.366, allocations: 126.2 kB / 1.144 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005945/1.372, allocations: 3.299 MB / 1.147 GB, free: 13.67 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.0255/1.398, allocations: 18.77 MB / 1.165 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00521/1.403, allocations: 2.696 MB / 1.168 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002564/1.405, allocations: 1.509 MB / 1.169 GB, free: 5.812 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003637/1.406, allocations: 229.7 kB / 1.17 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003003/1.409, allocations: 1.951 MB / 1.171 GB, free: 3.594 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002112/1.411, allocations: 323.7 kB / 1.172 GB, free: 3.277 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=200): time 4.668e-06/1.411, allocations: 0 / 1.172 GB, free: 3.277 MB / 0.7761 GB Notification: Performance of matching and sorting (n=200): time 0.009217/1.42, allocations: 4.349 MB / 1.176 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/1.42, allocations: 73.41 kB / 1.176 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008084/1.428, allocations: 5.893 MB / 1.182 GB, free: 8.914 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0004346/1.429, allocations: 89.06 kB / 1.182 GB, free: 8.824 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.002356/1.431, allocations: 2.729 MB / 1.185 GB, free: 6.09 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008932/1.432, allocations: 0.6976 MB / 1.185 GB, free: 5.398 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/1.433, allocations: 0.6704 MB / 1.186 GB, free: 4.719 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001004/1.433, allocations: 309.1 kB / 1.186 GB, free: 4.414 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003126/1.436, allocations: 2.156 MB / 1.188 GB, free: 2.254 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003968/1.44, allocations: 3.278 MB / 1.192 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007092/1.447, allocations: 5.407 MB / 1.197 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.037e-05/1.448, allocations: 8 kB / 1.197 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01036/1.458, allocations: 6.296 MB / 1.203 GB, free: 2.574 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.438e-05/1.458, allocations: 49.64 kB / 1.203 GB, free: 2.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.812e-05/1.458, allocations: 28 kB / 1.203 GB, free: 2.492 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/1.459, allocations: 0.5709 MB / 1.204 GB, free: 1.918 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003551/1.463, allocations: 0.7246 MB / 1.204 GB, free: 1.238 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003367/1.466, allocations: 3.747 MB / 1.208 GB, free: 13.39 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004997/1.471, allocations: 324.7 kB / 1.208 GB, free: 13.07 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005219/1.472, allocations: 224 kB / 1.208 GB, free: 12.86 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00506/1.477, allocations: 3.102 MB / 1.212 GB, free: 9.746 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003388/1.48, allocations: 2.916 MB / 1.214 GB, free: 6.336 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005829/1.486, allocations: 4.696 MB / 1.219 GB, free: 1.309 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.952e-05/1.486, allocations: 8 kB / 1.219 GB, free: 1.301 MB / 0.823 GB Notification: Performance of matching and sorting (n=397) (initialization_lambda0): time 0.009311/1.495, allocations: 5.541 MB / 1.224 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.058e-05/1.495, allocations: 47.39 kB / 1.224 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.357e-05/1.496, allocations: 36 kB / 1.224 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001698/1.497, allocations: 0.6575 MB / 1.225 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002826/1.5, allocations: 0.6982 MB / 1.226 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/1.512, allocations: 8.419 MB / 1.234 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004808/1.517, allocations: 331.9 kB / 1.234 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005526/1.517, allocations: 200 kB / 1.234 GB, free: 0.9414 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.001136/1.518, allocations: 390.3 kB / 1.235 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001329/1.52, allocations: 0.536 MB / 1.235 GB, free: 12 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006923/1.527, allocations: 3.349 MB / 1.239 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/1.527, allocations: 20 kB / 1.239 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.527, allocations: 0 / 1.239 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004785/1.531, allocations: 2.911 MB / 1.242 GB, free: 9.621 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.0163/1.548, allocations: 7.942 MB / 1.249 GB, free: 1.578 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/1.548, allocations: 0 / 1.249 GB, free: 1.578 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002592/1.55, allocations: 0.5347 MB / 1.25 GB, free: 1.043 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006156/1.551, allocations: 281.4 kB / 1.25 GB, free: 0.7617 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/1.551, allocations: 71.91 kB / 1.25 GB, free: 0.6914 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/1.553, allocations: 3.499 MB / 1.254 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.553, allocations: 4 kB / 1.254 GB, free: 13.07 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.