Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003901/0.003906, allocations: 357.6 kB / 16.59 MB, free: 5.566 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.75/1.75, allocations: 165.8 MB / 183.1 MB, free: 5.438 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.01/4.01, allocations: 410.8 MB / 0.6001 GB, free: 15.05 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.001791/0.001791, allocations: 198.2 kB / 0.6668 GB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.000466, allocations: 12 kB / 0.7429 GB, free: 8.953 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4105, allocations: 67.45 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.08181/0.4923, allocations: 56.42 MB / 0.8638 GB, free: 4.203 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02406/0.5165, allocations: 10.97 MB / 0.8746 GB, free: 9.223 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002416/0.519, allocations: 51.69 kB / 0.8746 GB, free: 9.172 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003152/0.5221, allocations: 0.5784 MB / 0.8752 GB, free: 8.59 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009044/0.5312, allocations: 1.971 MB / 0.8771 GB, free: 6.609 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006173/0.5375, allocations: 1.32 MB / 0.8784 GB, free: 5.312 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.006752/0.5442, allocations: 3.39 MB / 0.8817 GB, free: 1.91 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002505/0.5468, allocations: 0.7976 MB / 0.8825 GB, free: 1.094 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004004/0.5508, allocations: 1.007 MB / 0.8835 GB, free: 84 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002696/0.5536, allocations: 0.8088 MB / 0.8842 GB, free: 15.27 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003483/0.554, allocations: 40 kB / 0.8843 GB, free: 15.23 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004748/0.5587, allocations: 0.9313 MB / 0.8852 GB, free: 14.3 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005507/0.5593, allocations: 203 kB / 0.8854 GB, free: 14.1 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008264/0.5602, allocations: 281 kB / 0.8857 GB, free: 13.82 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004387/0.5646, allocations: 1.594 MB / 0.8872 GB, free: 12.22 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.5646, allocations: 0 / 0.8872 GB, free: 12.22 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5647, allocations: 4 kB / 0.8872 GB, free: 12.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.215e-05/0.5647, allocations: 0 / 0.8872 GB, free: 12.21 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005507/0.5702, allocations: 1.497 MB / 0.8887 GB, free: 10.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/0.5703, allocations: 8.031 kB / 0.8887 GB, free: 10.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005453/0.5758, allocations: 473.9 kB / 0.8891 GB, free: 10.19 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004691/0.5805, allocations: 1.092 MB / 0.8902 GB, free: 9.039 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009001/0.5814, allocations: 129.9 kB / 0.8903 GB, free: 8.914 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002914/0.5817, allocations: 83.95 kB / 0.8904 GB, free: 8.832 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004791/0.5865, allocations: 1.003 MB / 0.8914 GB, free: 7.789 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.808e-05/0.5866, allocations: 0 / 0.8914 GB, free: 7.789 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/0.5868, allocations: 35.94 kB / 0.8914 GB, free: 7.754 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/0.5869, allocations: 24 kB / 0.8914 GB, free: 7.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00593/0.5928, allocations: 0.9251 MB / 0.8923 GB, free: 6.809 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.01422/0.6071, allocations: 4.623 MB / 0.8969 GB, free: 1.867 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008929/0.616, allocations: 0.935 MB / 0.8978 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/0.6181, allocations: 342 kB / 0.8981 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001232/0.6194, allocations: 0.9068 MB / 0.899 GB, free: 15.48 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.6194, allocations: 35 kB / 0.899 GB, free: 15.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=47): time 5.009e-06/0.6195, allocations: 0 / 0.899 GB, free: 15.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=47): time 0.01698/0.6365, allocations: 2.01 MB / 0.901 GB, free: 13.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.6366, allocations: 59.84 kB / 0.901 GB, free: 13.32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002863/0.6394, allocations: 1.051 MB / 0.9021 GB, free: 12.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001892/0.6397, allocations: 37.7 kB / 0.9021 GB, free: 12.21 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006731/0.6404, allocations: 0.5157 MB / 0.9026 GB, free: 11.69 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.6406, allocations: 165.6 kB / 0.9028 GB, free: 11.53 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.88e-05/0.6407, allocations: 12 kB / 0.9028 GB, free: 11.52 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.6409, allocations: 326 kB / 0.9031 GB, free: 11.19 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/0.6428, allocations: 336.9 kB / 0.9034 GB, free: 10.86 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/0.6449, allocations: 0.5329 MB / 0.9039 GB, free: 10.25 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001892/0.6468, allocations: 368.6 kB / 0.9043 GB, free: 9.887 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.6469, allocations: 0 / 0.9043 GB, free: 9.887 MB / 458.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.007319/0.6542, allocations: 1.237 MB / 0.9055 GB, free: 8.637 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001874/0.6544, allocations: 193 kB / 0.9057 GB, free: 8.395 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.6545, allocations: 4 kB / 0.9057 GB, free: 8.391 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002269/0.6567, allocations: 332.5 kB / 0.906 GB, free: 8.062 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.6579, allocations: 139.8 kB / 0.9061 GB, free: 7.926 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002695/0.6607, allocations: 0.935 MB / 0.907 GB, free: 6.969 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/0.6632, allocations: 195.2 kB / 0.9072 GB, free: 6.777 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/0.6635, allocations: 27.98 kB / 0.9072 GB, free: 6.75 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.6635, allocations: 4 kB / 0.9073 GB, free: 6.746 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0064/0.6699, allocations: 1.104 MB / 0.9083 GB, free: 5.641 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/0.67, allocations: 4 kB / 0.9083 GB, free: 5.637 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002046/0.672, allocations: 328.8 kB / 0.9086 GB, free: 5.312 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.6732, allocations: 131.8 kB / 0.9088 GB, free: 5.184 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002665/0.6759, allocations: 0.9309 MB / 0.9097 GB, free: 4.227 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/0.6782, allocations: 171.3 kB / 0.9098 GB, free: 4.059 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.6784, allocations: 27.98 kB / 0.9099 GB, free: 4.031 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.0007866/0.6792, allocations: 356.4 kB / 0.9102 GB, free: 3.676 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003353/0.6796, allocations: 114.6 kB / 0.9103 GB, free: 3.562 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007384/0.687, allocations: 1.237 MB / 0.9115 GB, free: 2.309 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-05/0.687, allocations: 3.953 kB / 0.9115 GB, free: 2.305 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.687, allocations: 0 / 0.9115 GB, free: 2.305 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008558/0.6879, allocations: 283.4 kB / 0.9118 GB, free: 2.008 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.6882, allocations: 20 kB / 0.9118 GB, free: 1.988 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/0.6898, allocations: 115.7 kB / 0.9119 GB, free: 1.875 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.6899, allocations: 32.39 kB / 0.912 GB, free: 1.844 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.005675/0.6956, allocations: 0.8985 MB / 0.9128 GB, free: 0.9375 MB / 458.7 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed.