Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001089/0.001089, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4844/0.4844, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 349.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 114.9 kB / 420 MB, free: 8.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 55.91 kB / 0.4891 GB, free: 7.711 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3459, allocations: 70.06 MB / 0.5575 GB, free: 44.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic): time 0.7503/1.096, allocations: 371.1 MB / 0.9199 GB, free: 2.203 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.07573/1.172, allocations: 47.98 MB / 0.9667 GB, free: 2.098 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01082/1.183, allocations: 170.9 kB / 0.9669 GB, free: 1.93 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.5558/1.739, allocations: 2.626 MB / 0.9695 GB, free: 1.258 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.02564/1.764, allocations: 8.46 MB / 0.9777 GB, free: 1.195 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0144/1.779, allocations: 4.034 MB / 0.9817 GB, free: 1.137 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.04101/1.82, allocations: 18.25 MB / 0.9995 GB, free: 1.121 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01325/1.833, allocations: 4.169 MB / 1.004 GB, free: 0.6758 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02723/1.861, allocations: 6.792 MB / 1.01 GB, free: 0.5586 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01472/1.875, allocations: 4.531 MB / 1.015 GB, free: 104 kB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.003054/1.878, allocations: 306.7 kB / 1.015 GB, free: 104 kB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02577/1.904, allocations: 7.566 MB / 1.022 GB, free: 36 kB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.006953/1.911, allocations: 2.436 MB / 1.025 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.01316/1.924, allocations: 3.454 MB / 1.028 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.03096/1.955, allocations: 12.46 MB / 1.04 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/1.955, allocations: 0 / 1.04 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.903e-06/1.955, allocations: 3.938 kB / 1.04 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003768/1.956, allocations: 0 / 1.04 GB, free: 10.36 MB / 0.6823 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.02409/1.98, allocations: 7.977 MB / 1.048 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/1.98, allocations: 8.188 kB / 1.048 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01405/1.994, allocations: 2.041 MB / 1.05 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01741/2.012, allocations: 6.504 MB / 1.056 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003262/2.012, allocations: 278.9 kB / 1.057 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001494/2.013, allocations: 381.1 kB / 1.057 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009151/2.023, allocations: 4.538 MB / 1.061 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.155e-05/2.023, allocations: 0 / 1.061 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000343/2.023, allocations: 136.7 kB / 1.062 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/2.023, allocations: 121 kB / 1.062 GB, free: 15.03 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007103/2.03, allocations: 3.495 MB / 1.065 GB, free: 12.66 MB / 0.698 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.05046/2.081, allocations: 19.07 MB / 1.084 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009138/2.09, allocations: 2.903 MB / 1.087 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003599/2.094, allocations: 1.604 MB / 1.088 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004811/2.094, allocations: 231.8 kB / 1.088 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004315/2.098, allocations: 2.069 MB / 1.09 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003741/2.102, allocations: 320.2 kB / 1.091 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=200): time 1.567e-05/2.102, allocations: 0 / 1.091 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of matching and sorting (n=200): time 0.01284/2.115, allocations: 4.609 MB / 1.095 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/2.115, allocations: 73.41 kB / 1.095 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0131/2.128, allocations: 5.901 MB / 1.101 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001073/2.129, allocations: 81.7 kB / 1.101 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.004244/2.134, allocations: 2.728 MB / 1.104 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001872/2.136, allocations: 0.6923 MB / 1.104 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003167/2.139, allocations: 0.6767 MB / 1.105 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001037/2.139, allocations: 305.1 kB / 1.105 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00465/2.144, allocations: 2.24 MB / 1.108 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005246/2.149, allocations: 3.375 MB / 1.111 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008807/2.158, allocations: 5.58 MB / 1.116 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.284e-05/2.158, allocations: 8 kB / 1.116 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01305/2.171, allocations: 6.461 MB / 1.123 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.302e-05/2.171, allocations: 45.7 kB / 1.123 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.826e-05/2.171, allocations: 28 kB / 1.123 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/2.172, allocations: 0.572 MB / 1.123 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00392/2.176, allocations: 0.7649 MB / 1.124 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003625/2.18, allocations: 3.754 MB / 1.128 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006936/2.187, allocations: 381.1 kB / 1.128 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008211/2.188, allocations: 231.9 kB / 1.128 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007002/2.195, allocations: 3.192 MB / 1.131 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004224/2.199, allocations: 3.008 MB / 1.134 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007613/2.206, allocations: 4.849 MB / 1.139 GB, free: 6.195 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.849e-05/2.207, allocations: 8 kB / 1.139 GB, free: 6.188 MB / 0.7605 GB Notification: Performance of matching and sorting (n=397) (initialization_lambda0): time 0.0114/2.218, allocations: 5.721 MB / 1.145 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.304e-05/2.218, allocations: 45.69 kB / 1.145 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.211e-05/2.218, allocations: 35.94 kB / 1.145 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001718/2.22, allocations: 0.6498 MB / 1.145 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003168/2.223, allocations: 0.7382 MB / 1.146 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/2.234, allocations: 8.43 MB / 1.154 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006303/2.241, allocations: 394.9 kB / 1.155 GB, free: 6.035 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008574/2.242, allocations: 200.1 kB / 1.155 GB, free: 5.84 MB / 0.7761 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.001407/2.243, allocations: 383.7 kB / 1.155 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001924/2.245, allocations: 0.536 MB / 1.156 GB, free: 4.957 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00851/2.253, allocations: 3.538 MB / 1.159 GB, free: 1.406 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/2.254, allocations: 24 kB / 1.159 GB, free: 1.383 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/2.254, allocations: 7.078 kB / 1.159 GB, free: 1.379 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005408/2.259, allocations: 3.087 MB / 1.162 GB, free: 14.21 MB / 0.7917 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.01992/2.279, allocations: 8.225 MB / 1.17 GB, free: 5.898 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/2.279, allocations: 384 / 1.17 GB, free: 5.898 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003004/2.282, allocations: 0.5712 MB / 1.171 GB, free: 5.348 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006293/2.283, allocations: 277.8 kB / 1.171 GB, free: 5.074 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000271/2.283, allocations: 75.95 kB / 1.171 GB, free: 5 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/2.285, allocations: 3.496 MB / 1.175 GB, free: 1.391 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/2.285, allocations: 4 kB / 1.175 GB, free: 1.387 MB / 0.7917 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.