Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003897/0.003903, allocations: 359.9 kB / 16.59 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.571/1.571, allocations: 165.8 MB / 183.1 MB, free: 5.344 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.149/4.149, allocations: 410.8 MB / 0.6001 GB, free: 15.12 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001716/0.001716, allocations: 193.9 kB / 0.6668 GB, free: 6.895 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001456, allocations: 8 kB / 0.7429 GB, free: 8.934 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.4588, allocations: 67.44 MB / 0.8087 GB, free: 28.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.08105/0.5399, allocations: 56.45 MB / 0.8639 GB, free: 4.148 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02458/0.5646, allocations: 10.98 MB / 0.8746 GB, free: 9.16 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002748/0.5674, allocations: 55.56 kB / 0.8746 GB, free: 9.105 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003826/0.5713, allocations: 0.5744 MB / 0.8752 GB, free: 8.527 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01164/0.583, allocations: 1.971 MB / 0.8771 GB, free: 6.547 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008021/0.591, allocations: 1.322 MB / 0.8784 GB, free: 5.25 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.009055/0.6001, allocations: 3.402 MB / 0.8817 GB, free: 1.836 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002918/0.6031, allocations: 0.8027 MB / 0.8825 GB, free: 1.012 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00404/0.6072, allocations: 1.007 MB / 0.8835 GB, free: 0 / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003045/0.6103, allocations: 0.8167 MB / 0.8843 GB, free: 15.18 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004097/0.6108, allocations: 47.83 kB / 0.8843 GB, free: 15.13 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004854/0.6156, allocations: 0.9274 MB / 0.8852 GB, free: 14.2 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006889/0.6164, allocations: 199 kB / 0.8854 GB, free: 14.01 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000844/0.6173, allocations: 285 kB / 0.8857 GB, free: 13.72 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004836/0.6221, allocations: 1.602 MB / 0.8873 GB, free: 12.12 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.6222, allocations: 4 kB / 0.8873 GB, free: 12.11 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.6222, allocations: 4 kB / 0.8873 GB, free: 12.11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.046e-05/0.6223, allocations: 0 / 0.8873 GB, free: 12.11 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00632/0.6286, allocations: 1.498 MB / 0.8887 GB, free: 10.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.339e-05/0.6287, allocations: 8.031 kB / 0.8888 GB, free: 10.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006271/0.635, allocations: 0.5096 MB / 0.8893 GB, free: 10.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004801/0.6398, allocations: 1.105 MB / 0.8903 GB, free: 8.871 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009768/0.6409, allocations: 133.9 kB / 0.8905 GB, free: 8.742 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004141/0.6413, allocations: 87.95 kB / 0.8905 GB, free: 8.656 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005406/0.6467, allocations: 1.033 MB / 0.8916 GB, free: 7.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-05/0.6468, allocations: 0 / 0.8916 GB, free: 7.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000194/0.6471, allocations: 32 kB / 0.8916 GB, free: 7.559 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.744e-05/0.6471, allocations: 16 kB / 0.8916 GB, free: 7.543 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005609/0.6527, allocations: 1.003 MB / 0.8926 GB, free: 6.543 MB / 442.7 MB 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.01095/0.6637, allocations: 4.72 MB / 0.8972 GB, free: 1.473 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008025/0.6718, allocations: 1.133 MB / 0.8983 GB, free: 336 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002309/0.6742, allocations: 449.9 kB / 0.8987 GB, free: 15.89 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001598/0.6758, allocations: 1.029 MB / 0.8997 GB, free: 14.64 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.6759, allocations: 39 kB / 0.8998 GB, free: 14.59 MB / 458.7 MB Notification: Performance of pre-optimization done (n=53): time 3.116e-06/0.6759, allocations: 0 / 0.8998 GB, free: 14.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=53): time 0.01922/0.6951, allocations: 2.49 MB / 0.9022 GB, free: 12.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.6952, allocations: 59.84 kB / 0.9023 GB, free: 12 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/0.6973, allocations: 0.9238 MB / 0.9032 GB, free: 11.05 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001985/0.6975, allocations: 37.7 kB / 0.9032 GB, free: 11.01 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006411/0.6982, allocations: 0.5118 MB / 0.9037 GB, free: 10.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002963/0.6985, allocations: 185.3 kB / 0.9039 GB, free: 10.31 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-05/0.6986, allocations: 8 kB / 0.9039 GB, free: 10.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.6988, allocations: 333.9 kB / 0.9042 GB, free: 9.973 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002051/0.7008, allocations: 372.9 kB / 0.9045 GB, free: 9.605 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002296/0.7032, allocations: 0.5434 MB / 0.9051 GB, free: 9.004 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002054/0.7052, allocations: 401.9 kB / 0.9055 GB, free: 8.609 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.4e-05/0.7053, allocations: 4 kB / 0.9055 GB, free: 8.605 MB / 458.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.005614/0.7109, allocations: 1.123 MB / 0.9066 GB, free: 7.469 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.7111, allocations: 160.3 kB / 0.9067 GB, free: 7.277 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.7111, allocations: 4 kB / 0.9067 GB, free: 7.273 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002227/0.7134, allocations: 328.5 kB / 0.907 GB, free: 6.949 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.7147, allocations: 143.8 kB / 0.9072 GB, free: 6.809 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002655/0.7174, allocations: 0.9355 MB / 0.9081 GB, free: 5.848 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/0.7197, allocations: 172.4 kB / 0.9082 GB, free: 5.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/0.7199, allocations: 39.91 kB / 0.9083 GB, free: 5.641 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.7199, allocations: 4 kB / 0.9083 GB, free: 5.637 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005242/0.7252, allocations: 1.001 MB / 0.9093 GB, free: 4.633 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.7253, allocations: 4 kB / 0.9093 GB, free: 4.629 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002017/0.7273, allocations: 324.3 kB / 0.9096 GB, free: 4.312 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.7287, allocations: 143.8 kB / 0.9097 GB, free: 4.172 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/0.7313, allocations: 0.9308 MB / 0.9106 GB, free: 3.215 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/0.7337, allocations: 171.4 kB / 0.9108 GB, free: 3.047 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/0.7339, allocations: 27.98 kB / 0.9108 GB, free: 3.02 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0008406/0.7347, allocations: 352.9 kB / 0.9112 GB, free: 2.664 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003759/0.7351, allocations: 110.7 kB / 0.9113 GB, free: 2.555 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00896/0.7441, allocations: 1.438 MB / 0.9127 GB, free: 1.102 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.38e-05/0.7442, allocations: 11.98 kB / 0.9127 GB, free: 1.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.7442, allocations: 0 / 0.9127 GB, free: 1.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009548/0.7452, allocations: 291.5 kB / 0.913 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002694/0.7454, allocations: 11.95 kB / 0.913 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/0.7474, allocations: 123.8 kB / 0.9131 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.7475, allocations: 32.52 kB / 0.9131 GB, free: 0.6211 MB / 458.7 MB 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! Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006973/0.7545, allocations: 1.011 MB / 0.9141 GB, free: 15.61 MB / 474.7 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed.