Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.336/1.336, allocations: 251.5 MB / 267.4 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008969/0.0008969, allocations: 172 kB / 326.5 MB, free: 2.664 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205 MB / 0.5766 GB, free: 20.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007773/0.0007772, allocations: 92.08 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.0004908, allocations: 9.281 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1967, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.04214/0.2389, allocations: 60.55 MB / 0.9559 GB, free: 7.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01328/0.2522, allocations: 11.94 MB / 0.9675 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002006/0.2543, allocations: 55.62 kB / 0.9676 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.2559, allocations: 0.5438 MB / 0.9681 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004882/0.2608, allocations: 1.795 MB / 0.9699 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.2636, allocations: 1.094 MB / 0.9709 GB, free: 7.949 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004421/0.268, allocations: 3.896 MB / 0.9747 GB, free: 4.039 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.2694, allocations: 0.9046 MB / 0.9756 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002314/0.2717, allocations: 1.112 MB / 0.9767 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.2729, allocations: 0.8709 MB / 0.9776 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.273, allocations: 44 kB / 0.9776 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002474/0.2755, allocations: 1.294 MB / 0.9789 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002135/0.2757, allocations: 214.9 kB / 0.9791 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005973/0.2763, allocations: 0.606 MB / 0.9797 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002523/0.2788, allocations: 2.2 MB / 0.9818 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2789, allocations: 0 / 0.9818 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2789, allocations: 4 kB / 0.9818 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.2789, allocations: 3.938 kB / 0.9818 GB, free: 12.74 MB / 0.6355 GB 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.002547/0.2814, allocations: 1.493 MB / 0.9833 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.2815, allocations: 8.031 kB / 0.9833 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002431/0.2839, allocations: 0.5144 MB / 0.9838 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/0.2859, allocations: 1.15 MB / 0.9849 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003445/0.2862, allocations: 125.9 kB / 0.985 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.2864, allocations: 84 kB / 0.9851 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/0.2884, allocations: 1.041 MB / 0.9861 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.2885, allocations: 0 / 0.9861 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.652e-05/0.2885, allocations: 32 kB / 0.9862 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.2886, allocations: 20 kB / 0.9862 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002553/0.2911, allocations: 1.007 MB / 0.9872 GB, free: 7.117 MB / 0.6355 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.006054/0.2972, allocations: 4.715 MB / 0.9918 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004004/0.3012, allocations: 1.121 MB / 0.9929 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.3023, allocations: 460.2 kB / 0.9933 GB, free: 488 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.3033, allocations: 1.029 MB / 0.9943 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.3033, allocations: 35 kB / 0.9943 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 3.316e-06/0.3033, allocations: 0 / 0.9943 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53): time 0.009236/0.3126, allocations: 2.509 MB / 0.9968 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.3126, allocations: 59.84 kB / 0.9968 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.314, allocations: 0.9393 MB / 0.9978 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.769e-05/0.3141, allocations: 37.7 kB / 0.9978 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004301/0.3146, allocations: 0.504 MB / 0.9983 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.3148, allocations: 181.3 kB / 0.9985 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.246e-05/0.3149, allocations: 45.7 kB / 0.9985 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.315, allocations: 334 kB / 0.9988 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.316, allocations: 372.9 kB / 0.9992 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.3172, allocations: 0.5617 MB / 0.9997 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001987/0.3192, allocations: 0.8127 MB / 1.001 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.3192, allocations: 4 kB / 1.001 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002965/0.3222, allocations: 1.127 MB / 1.002 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.3223, allocations: 172.3 kB / 1.002 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3223, allocations: 4 kB / 1.002 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.3236, allocations: 328.5 kB / 1.002 GB, free: 6.996 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000633/0.3243, allocations: 139.8 kB / 1.002 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.3259, allocations: 0.9348 MB / 1.003 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.3271, allocations: 171.3 kB / 1.003 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.071e-05/0.3272, allocations: 39.91 kB / 1.003 GB, free: 5.691 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.3272, allocations: 4 kB / 1.003 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00265/0.3299, allocations: 0.9939 MB / 1.004 GB, free: 4.691 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3299, allocations: 0 / 1.004 GB, free: 4.691 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.3309, allocations: 326 kB / 1.005 GB, free: 4.371 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006085/0.3316, allocations: 139.8 kB / 1.005 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.333, allocations: 0.9398 MB / 1.006 GB, free: 3.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.3341, allocations: 172 kB / 1.006 GB, free: 3.102 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/0.3342, allocations: 27.98 kB / 1.006 GB, free: 3.074 MB / 0.6511 GB 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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005444/0.3348, allocations: 353 kB / 1.006 GB, free: 2.719 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.3349, allocations: 106.7 kB / 1.006 GB, free: 2.613 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00438/0.3393, allocations: 1.443 MB / 1.008 GB, free: 1.156 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.3394, allocations: 3.984 kB / 1.008 GB, free: 1.152 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3394, allocations: 0 / 1.008 GB, free: 1.152 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004511/0.3398, allocations: 275.5 kB / 1.008 GB, free: 0.8633 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.34, allocations: 12 kB / 1.008 GB, free: 0.8516 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008528/0.3408, allocations: 127.7 kB / 1.008 GB, free: 0.7266 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.235e-05/0.3409, allocations: 36.52 kB / 1.008 GB, free: 0.6914 MB / 0.6511 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! Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003236/0.3442, allocations: 1.012 MB / 1.009 GB, free: 15.67 MB / 0.6667 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.